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