]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/compiler/core/meta.h
Security-54.tar.gz
[apple/security.git] / SecuritySNACCRuntime / compiler / core / meta.h
1 /*
2 * file: compiler/core/meta.h
3 *
4 * Copyright © 1994 1995 Robert Joop <rj@rainbow.in-berlin.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program and the associated libraries are distributed in the hope
12 * that they will be useful, but WITHOUT ANY WARRANTY; without even the
13 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License and GNU Library General
15 * Public License for more details.
16 *
17 * $Header: /cvs/Darwin/Security/SecuritySNACCRuntime/compiler/core/meta.h,v 1.1 2001/06/20 21:27:57 dmitch Exp $
18 * $Log: meta.h,v $
19 * Revision 1.1 2001/06/20 21:27:57 dmitch
20 * Adding missing snacc compiler files.
21 *
22 * Revision 1.1.1.1 1999/03/16 18:06:50 aram
23 * Originals from SMIME Free Library.
24 *
25 * Revision 1.4 1995/09/07 19:14:26 rj
26 * enum MetaNameStyle introduced.
27 *
28 * Revision 1.3 1995/08/17 15:00:12 rj
29 * the PDU flag belongs to the metacode, not only to the tcl interface. (type and variable named adjusted)
30 *
31 * Revision 1.1 1995/07/27 10:54:11 rj
32 * new file
33 */
34
35 #if META
36
37 typedef enum
38 {
39 META_off = 0, /* metacode generation disabled */
40 META_asn1_names, /* names as defined in .asn1 file */
41 META_backend_names, /* names as being used by the backend code */
42 } MetaNameStyle;
43
44 typedef struct
45 {
46 const char *srcfn;
47 FILE *srcfp;
48 } Meta;
49
50 typedef struct MetaPDU
51 {
52 const char *module, *type;
53 int used;
54
55 struct MetaPDU *next;
56 } MetaPDU;
57
58 extern int isMetaPDU PROTO ((const char *module, const char *type, MetaPDU *pdus));
59
60 #endif /* META */