Beispiel #1
0
int meta_ej_import_packet_lookup_field(const char *name)
{
  static struct meta_automaton *atm = 0;
  ASSERT(name);
  if (!atm) atm = meta_build_automaton(meta_info_ej_import_packet_data, META_EJ_IMPORT_PACKET_LAST_FIELD);
  return meta_lookup_string(atm, name);
}
Beispiel #2
0
int contest_desc_lookup_field(const char *name)
{
  static struct meta_automaton *atm = 0;
  ASSERT(name);
  if (!atm) atm = meta_build_automaton(meta_info_contest_desc_data, CNTS_LAST_FIELD);
  return meta_lookup_string(atm, name);
}