#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <linux/asn1_ber_bytecode.h>
Go to the source code of this file.
|
enum | token_type {
DIRECTIVE_ABSENT,
DIRECTIVE_ALL,
DIRECTIVE_ANY,
DIRECTIVE_APPLICATION,
DIRECTIVE_AUTOMATIC,
DIRECTIVE_BEGIN,
DIRECTIVE_BIT,
DIRECTIVE_BMPString,
DIRECTIVE_BOOLEAN,
DIRECTIVE_BY,
DIRECTIVE_CHARACTER,
DIRECTIVE_CHOICE,
DIRECTIVE_CLASS,
DIRECTIVE_COMPONENT,
DIRECTIVE_COMPONENTS,
DIRECTIVE_CONSTRAINED,
DIRECTIVE_CONTAINING,
DIRECTIVE_DEFAULT,
DIRECTIVE_DEFINED,
DIRECTIVE_DEFINITIONS,
DIRECTIVE_EMBEDDED,
DIRECTIVE_ENCODED,
DIRECTIVE_ENCODING_CONTROL,
DIRECTIVE_END,
DIRECTIVE_ENUMERATED,
DIRECTIVE_EXCEPT,
DIRECTIVE_EXPLICIT,
DIRECTIVE_EXPORTS,
DIRECTIVE_EXTENSIBILITY,
DIRECTIVE_EXTERNAL,
DIRECTIVE_FALSE,
DIRECTIVE_FROM,
DIRECTIVE_GeneralString,
DIRECTIVE_GeneralizedTime,
DIRECTIVE_GraphicString,
DIRECTIVE_IA5String,
DIRECTIVE_IDENTIFIER,
DIRECTIVE_IMPLICIT,
DIRECTIVE_IMPLIED,
DIRECTIVE_IMPORTS,
DIRECTIVE_INCLUDES,
DIRECTIVE_INSTANCE,
DIRECTIVE_INSTRUCTIONS,
DIRECTIVE_INTEGER,
DIRECTIVE_INTERSECTION,
DIRECTIVE_ISO646String,
DIRECTIVE_MAX,
DIRECTIVE_MIN,
DIRECTIVE_MINUS_INFINITY,
DIRECTIVE_NULL,
DIRECTIVE_NumericString,
DIRECTIVE_OBJECT,
DIRECTIVE_OCTET,
DIRECTIVE_OF,
DIRECTIVE_OPTIONAL,
DIRECTIVE_ObjectDescriptor,
DIRECTIVE_PATTERN,
DIRECTIVE_PDV,
DIRECTIVE_PLUS_INFINITY,
DIRECTIVE_PRESENT,
DIRECTIVE_PRIVATE,
DIRECTIVE_PrintableString,
DIRECTIVE_REAL,
DIRECTIVE_RELATIVE_OID,
DIRECTIVE_SEQUENCE,
DIRECTIVE_SET,
DIRECTIVE_SIZE,
DIRECTIVE_STRING,
DIRECTIVE_SYNTAX,
DIRECTIVE_T61String,
DIRECTIVE_TAGS,
DIRECTIVE_TRUE,
DIRECTIVE_TeletexString,
DIRECTIVE_UNION,
DIRECTIVE_UNIQUE,
DIRECTIVE_UNIVERSAL,
DIRECTIVE_UTCTime,
DIRECTIVE_UTF8String,
DIRECTIVE_UniversalString,
DIRECTIVE_VideotexString,
DIRECTIVE_VisibleString,
DIRECTIVE_WITH,
NR__DIRECTIVES,
TOKEN_ASSIGNMENT = NR__DIRECTIVES,
TOKEN_OPEN_CURLY,
TOKEN_CLOSE_CURLY,
TOKEN_OPEN_SQUARE,
TOKEN_CLOSE_SQUARE,
TOKEN_OPEN_ACTION,
TOKEN_CLOSE_ACTION,
TOKEN_COMMA,
TOKEN_NUMBER,
TOKEN_TYPE_NAME,
TOKEN_ELEMENT_NAME,
NR__TOKENS
} |
|
enum | compound {
NOT_COMPOUND,
SET,
SET_OF,
SEQUENCE,
SEQUENCE_OF,
CHOICE,
ANY,
TYPE_REF,
TAG_OVERRIDE
} |
|
#define _ |
( |
|
X | ) |
[DIRECTIVE_##X] = #X |
#define ELEMENT_CONDITIONAL 0x0020 |
#define ELEMENT_EXPLICIT 0x0002 |
#define ELEMENT_IMPLICIT 0x0001 |
#define ELEMENT_MARKED 0x0004 |
#define ELEMENT_RENDERED 0x0008 |
#define ELEMENT_SKIPPABLE 0x0010 |
#define TYPE_BEGIN 0x0002 |
#define TYPE_STOP_MARKER 0x0001 |
- Enumerator:
NOT_COMPOUND |
|
SET |
|
SET_OF |
|
SEQUENCE |
|
SEQUENCE_OF |
|
CHOICE |
|
ANY |
|
TYPE_REF |
|
TAG_OVERRIDE |
|
Definition at line 631 of file asn1_compiler.c.
- Enumerator:
DIRECTIVE_ABSENT |
|
DIRECTIVE_ALL |
|
DIRECTIVE_ANY |
|
DIRECTIVE_APPLICATION |
|
DIRECTIVE_AUTOMATIC |
|
DIRECTIVE_BEGIN |
|
DIRECTIVE_BIT |
|
DIRECTIVE_BMPString |
|
DIRECTIVE_BOOLEAN |
|
DIRECTIVE_BY |
|
DIRECTIVE_CHARACTER |
|
DIRECTIVE_CHOICE |
|
DIRECTIVE_CLASS |
|
DIRECTIVE_COMPONENT |
|
DIRECTIVE_COMPONENTS |
|
DIRECTIVE_CONSTRAINED |
|
DIRECTIVE_CONTAINING |
|
DIRECTIVE_DEFAULT |
|
DIRECTIVE_DEFINED |
|
DIRECTIVE_DEFINITIONS |
|
DIRECTIVE_EMBEDDED |
|
DIRECTIVE_ENCODED |
|
DIRECTIVE_ENCODING_CONTROL |
|
DIRECTIVE_END |
|
DIRECTIVE_ENUMERATED |
|
DIRECTIVE_EXCEPT |
|
DIRECTIVE_EXPLICIT |
|
DIRECTIVE_EXPORTS |
|
DIRECTIVE_EXTENSIBILITY |
|
DIRECTIVE_EXTERNAL |
|
DIRECTIVE_FALSE |
|
DIRECTIVE_FROM |
|
DIRECTIVE_GeneralString |
|
DIRECTIVE_GeneralizedTime |
|
DIRECTIVE_GraphicString |
|
DIRECTIVE_IA5String |
|
DIRECTIVE_IDENTIFIER |
|
DIRECTIVE_IMPLICIT |
|
DIRECTIVE_IMPLIED |
|
DIRECTIVE_IMPORTS |
|
DIRECTIVE_INCLUDES |
|
DIRECTIVE_INSTANCE |
|
DIRECTIVE_INSTRUCTIONS |
|
DIRECTIVE_INTEGER |
|
DIRECTIVE_INTERSECTION |
|
DIRECTIVE_ISO646String |
|
DIRECTIVE_MAX |
|
DIRECTIVE_MIN |
|
DIRECTIVE_MINUS_INFINITY |
|
DIRECTIVE_NULL |
|
DIRECTIVE_NumericString |
|
DIRECTIVE_OBJECT |
|
DIRECTIVE_OCTET |
|
DIRECTIVE_OF |
|
DIRECTIVE_OPTIONAL |
|
DIRECTIVE_ObjectDescriptor |
|
DIRECTIVE_PATTERN |
|
DIRECTIVE_PDV |
|
DIRECTIVE_PLUS_INFINITY |
|
DIRECTIVE_PRESENT |
|
DIRECTIVE_PRIVATE |
|
DIRECTIVE_PrintableString |
|
DIRECTIVE_REAL |
|
DIRECTIVE_RELATIVE_OID |
|
DIRECTIVE_SEQUENCE |
|
DIRECTIVE_SET |
|
DIRECTIVE_SIZE |
|
DIRECTIVE_STRING |
|
DIRECTIVE_SYNTAX |
|
DIRECTIVE_T61String |
|
DIRECTIVE_TAGS |
|
DIRECTIVE_TRUE |
|
DIRECTIVE_TeletexString |
|
DIRECTIVE_UNION |
|
DIRECTIVE_UNIQUE |
|
DIRECTIVE_UNIVERSAL |
|
DIRECTIVE_UTCTime |
|
DIRECTIVE_UTF8String |
|
DIRECTIVE_UniversalString |
|
DIRECTIVE_VideotexString |
|
DIRECTIVE_VisibleString |
|
DIRECTIVE_WITH |
|
NR__DIRECTIVES |
|
TOKEN_ASSIGNMENT |
|
TOKEN_OPEN_CURLY |
|
TOKEN_CLOSE_CURLY |
|
TOKEN_OPEN_SQUARE |
|
TOKEN_CLOSE_SQUARE |
|
TOKEN_OPEN_ACTION |
|
TOKEN_CLOSE_ACTION |
|
TOKEN_COMMA |
|
TOKEN_NUMBER |
|
TOKEN_TYPE_NAME |
|
TOKEN_ELEMENT_NAME |
|
NR__TOKENS |
|
Definition at line 23 of file asn1_compiler.c.