2 * Copyright (C) 1994-1996, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1996-10-11 10:57:24 adam
8 * New module recctrl. Used to manage records (extract/retrieval).
10 * Revision 1.5 1996/06/04 10:18:59 adam
11 * Minor changes - removed include of ctype.h.
13 * Revision 1.4 1995/12/04 17:59:24 adam
14 * More work on regular expression conversion.
16 * Revision 1.3 1995/12/04 14:22:30 adam
17 * Extra arg to recType_byName.
18 * Started work on new regular expression parsed input to
21 * Revision 1.2 1995/11/15 14:46:19 adam
22 * Started work on better record management system.
24 * Revision 1.1 1995/09/27 12:22:28 adam
25 * More work on extract in record control.
26 * Field name is not in isam keys but in prefix in dictionary words.
37 RecType recType_byName (const char *name, char *subType)
42 strcpy (tmpname, name);
43 if ((p = strchr (tmpname, '.')))
46 strcpy (subType, p+1);
50 if (!strcmp (recTypeGrs->name, tmpname))
52 if (!strcmp (recTypeText->name, tmpname))