2 * compiler/core/asn1module.h
4 * "Asn1Module" ASN.1 module C type definitions and prototypes
6 * This .h file was by snacc on Sun Feb 7 23:38:26 1993
8 * UBC snacc written compiler by Mike Sample
10 * NOTE: This is a machine generated file - editing not recommended
14 #ifndef _asn1module_h_
15 #define _asn1module_h_
26 } ConstraintEnum
; /* ENUMERATED { PRESENT_CT (0), ABSENT_CT (1), EMPTY_CT (2), OPTIONAL_CT (3) } */
36 } InnerSubtypeEnum
; /* ENUMERATED { FULL_CT (0), PARTIAL_CT (1), SINGLE_CT (2) } */
47 } SnmpObjectTypeMacroTypeEnum1
; /* ENUMERATED { SNMP_MANDATORY (0), SNMP_OPTIONAL (1), SNMP_OBSOLETE (2), SNMP_DEPRECATED (3) } */
57 SNMP_NOT_ACCESSIBLE
= 3
58 } SnmpObjectTypeMacroTypeEnum
; /* ENUMERATED { SNMP_READ_ONLY (0), SNMP_READ_WRITE (1), SNMP_WRITE_ONLY (2), SNMP_NOT_ACCESSIBLE (3) } */
68 } AsnPortEnum
; /* ENUMERATED { CONSUMER_PORT (0), SUPPLIER_PORT (1), SYMMETRIC_PORT (2) } */
78 } ModuleEnum2
; /* ENUMERATED { EXPORTS_ALL (0), EXPORTS_NOTHING (1), EXPORTS_SOME (2) } */
87 } ModuleEnum1
; /* ENUMERATED { EXPLICIT_TAGS (0), IMPLICIT_TAGS (1) } */
97 } ModuleEnum
; /* ENUMERATED { MOD_OK (0), MOD_NOT_LINKED (1), MOD_ERROR (2) } */
102 typedef AsnInt AsnRefineMacroType
; /* INTEGER */
111 } SpecialIntegerValue
; /* ENUMERATED { MIN_INT (0), MAX_INT (1) } */
118 MINUS_INFINITY_REAL
= 0,
119 PLUS_INFINITY_REAL
= 1
120 } SpecialRealValue
; /* ENUMERATED { MINUS_INFINITY_REAL (0), PLUS_INFINITY_REAL (1) } */
136 } CTypeId
; /* ENUMERATED { C_CHOICE (0), C_LIST (1), C_ANY (2), C_ANYDEFINEDBY (3), C_LIB (4), C_STRUCT (5), C_TYPEREF (6), C_NO_TYPE (7), C_TYPEDEF (8) } */
141 typedef struct OidOrInt
/* CHOICE */
143 enum OidOrIntChoiceId
148 union OidOrIntChoiceUnion
150 AsnOid
*oid
; /* OBJECT IDENTIFIER */
151 AsnInt intId
; /* INTEGER */
158 typedef AsnList OidList
; /* SEQUENCE OF OBJECT IDENTIFIER */
163 typedef char *MyString
; /* PrintableString */
168 typedef struct ModuleId
/* SEQUENCE */
170 MyString name
; /* MyString */
171 OID
*oid
; /* OBJECT IDENTIFIER OPTIONAL */
177 typedef struct AnyRef
/* SEQUENCE */
179 MyString anyIdName
; /* MyString */
180 struct OidOrInt
*id
; /* OidOrInt */
186 typedef AsnList AnyRefList
; /* SEQUENCE OF AnyRef */
191 typedef AsnList AttributeList
; /* SEQUENCE OF MyString */
196 typedef MyString MacroDef
; /* MyString */
205 typedef AsnList ImportModuleList
; /* SEQUENCE OF ImportModule */
210 typedef AsnList ImportElmtList
; /* SEQUENCE OF ImportElmt */
215 typedef AsnList TypeDefList
; /* SEQUENCE OF TypeDef */
220 typedef AsnList TagList
; /* SEQUENCE OF Tag */
225 typedef AsnList NamedTypeList
; /* SEQUENCE OF NamedType */
230 typedef AsnList ValueList
; /* SEQUENCE OF Value */
235 typedef AsnList TypeOrValueList
; /* SEQUENCE OF TypeOrValue */
240 typedef AsnList AsnPortList
; /* SEQUENCE OF AsnPort */
245 typedef AsnList SubtypeList
; /* SEQUENCE OF Subtype */
250 typedef AsnList ConstraintList
; /* SEQUENCE OF Constraint */
255 typedef AsnList ValueDefList
; /* SEQUENCE OF ValueDef */
260 typedef struct ImportElmtChoice
/* CHOICE */
262 enum ImportElmtChoiceChoiceId
264 IMPORTELMTCHOICE_TYPE
,
265 IMPORTELMTCHOICE_VALUE
267 union ImportElmtChoiceChoiceUnion
269 struct TypeDef
*type
; /* [0] IMPLICIT TypeDef */
270 struct ValueDef
*value
; /* [1] IMPLICIT ValueDef */
277 typedef struct Module
/* SEQUENCE */
279 ModuleEnum status
; /* ModuleEnum */
280 struct ModuleId
*modId
; /* ModuleId */
281 ModuleEnum1 tagDefault
; /* ModuleEnum1 */
282 ModuleEnum2 exportStatus
; /* ModuleEnum2 */
283 ImportModuleList
*imports
; /* ImportModuleList */
284 TypeDefList
*typeDefs
; /* TypeDefList */
285 ValueDefList
*valueDefs
; /* ValueDefList */
286 AsnBool hasAnys
; /* BOOLEAN */
287 MyString asn1SrcFileName
; /* MyString */
288 MyString cHdrFileName
; /* MyString */
289 MyString cSrcFileName
; /* MyString */
290 MyString cxxHdrFileName
; /* MyString */
291 MyString cxxSrcFileName
; /* MyString */
293 MyString dbHdrFileName
; /* 19.8.93 IBM-ENC */
294 MyString dbSrcFileName
; /* 19.8.93 IBM-ENC */
295 #endif /* _IBM_ENC_ */
300 MyString idlFileName
; /* MyString */
308 typedef struct ImportModule
/* SEQUENCE */
310 struct ModuleId
*modId
; /* ModuleId */
311 ImportElmtList
*importElmts
; /* ImportElmtList */
312 struct Module
*moduleRef
; /* Module */
313 AsnInt lineNo
; /* INTEGER */
319 typedef struct ImportElmt
/* SEQUENCE */
321 struct ImportElmtChoice
*resolvedRef
; /* ImportElmtChoice OPTIONAL */
322 MyString name
; /* MyString */
323 AsnBool privateScope
; /* BOOLEAN */
324 AsnInt lineNo
; /* INTEGER */
330 typedef struct TypeDef
/* SEQUENCE */
332 AsnBool exported
; /* BOOLEAN */
333 AsnBool recursive
; /* BOOLEAN */
334 AsnBool isPdu
; /* BOOLEAN */
335 AsnInt localRefCount
; /* INTEGER */
336 AsnInt importRefCount
; /* INTEGER */
337 AsnInt tmpRefCount
; /* INTEGER */
338 AsnBool visited
; /* BOOLEAN */
339 MyString definedName
; /* MyString */
340 struct Type
*type
; /* Type */
341 struct CTDI
*cTypeDefInfo
; /* CTDI */
342 struct CxxTDI
*cxxTypeDefInfo
; /* CxxTDI */
343 struct IDLTDI
*idlTypeDefInfo
; /* IDLTDI */
344 AttributeList
*attrList
; /* AttributeList */
345 TypeDefList
*refList
; /* TypeDefList */
346 AnyRefList
*anyRefs
; /* AnyRefList */
352 typedef struct Tag
/* SEQUENCE */
354 AsnInt tclass
; /* INTEGER */
355 AsnInt form
; /* INTEGER */
356 AsnInt code
; /* INTEGER */
357 AsnBool
explicit; /* BOOLEAN */
358 struct Value
*valueRef
; /* Value */
364 typedef struct Type
/* SEQUENCE */
366 AsnBool optional
; /* BOOLEAN */
367 AsnBool implicit
; /* BOOLEAN */
368 TagList
*tags
; /* TagList */
369 struct NamedValue
*defaultVal
; /* [0] IMPLICIT NamedValue OPTIONAL */
370 struct Subtype
*subtypes
; /* [1] Subtype OPTIONAL */
371 struct BasicType
*basicType
; /* [2] BasicType */
372 AsnInt lineNo
; /* INTEGER */
373 struct CTRI
*cTypeRefInfo
; /* CTRI */
374 struct CxxTRI
*cxxTypeRefInfo
; /* CxxTRI */
375 struct IDLTRI
*idlTypeRefInfo
; /* IDLTRI */
376 AttributeList
*attrList
; /* AttributeList */
382 typedef ValueDefList NamedNumberList
; /* ValueDefList */
387 typedef struct BasicType
/* CHOICE */
389 enum BasicTypeChoiceId
395 BASICTYPE_OCTETSTRING
,
399 BASICTYPE_ENUMERATED
,
401 BASICTYPE_SEQUENCEOF
,
406 BASICTYPE_COMPONENTSOF
,
408 BASICTYPE_ANYDEFINEDBY
,
409 BASICTYPE_LOCALTYPEREF
,
410 BASICTYPE_IMPORTTYPEREF
,
414 union BasicTypeChoiceUnion
416 AsnNull unknown
; /* [0] IMPLICIT NULL */
417 AsnNull boolean
; /* [1] IMPLICIT NULL */
418 NamedNumberList
*integer
; /* [2] IMPLICIT NamedNumberList */
419 NamedNumberList
*bitString
; /* [3] IMPLICIT NamedNumberList */
420 AsnNull octetString
; /* [4] IMPLICIT NULL */
421 AsnNull null
; /* [5] IMPLICIT NULL */
422 AsnNull oid
; /* [6] IMPLICIT NULL */
423 AsnNull real
; /* [7] IMPLICIT NULL */
424 NamedNumberList
*enumerated
; /* [8] IMPLICIT NamedNumberList */
425 NamedTypeList
*sequence
; /* [9] IMPLICIT NamedTypeList */
426 struct Type
*sequenceOf
; /* [10] IMPLICIT Type */
427 NamedTypeList
*set
; /* [11] IMPLICIT NamedTypeList */
428 struct Type
*setOf
; /* [12] IMPLICIT Type */
429 NamedTypeList
*choice
; /* [13] IMPLICIT NamedTypeList */
430 struct SelectionType
*selection
; /* [14] IMPLICIT SelectionType */
431 struct Type
*componentsOf
; /* [15] IMPLICIT Type */
432 AsnNull any
; /* [16] IMPLICIT NULL */
433 struct AnyDefinedByType
*anyDefinedBy
; /* [17] IMPLICIT AnyDefinedByType */
434 struct TypeRef
*localTypeRef
; /* [19] IMPLICIT TypeRef */
435 struct TypeRef
*importTypeRef
; /* [20] IMPLICIT TypeRef */
436 struct MacroType
*macroType
; /* [21] MacroType */
437 MacroDef macroDef
; /* [22] IMPLICIT MacroDef */
444 typedef struct MacroType
/* CHOICE */
446 enum MacroTypeChoiceId
448 MACROTYPE_ROSOPERATION
,
454 MACROTYPE_MTSASEXTENSION
,
455 MACROTYPE_MTSASEXTENSIONS
,
456 MACROTYPE_MTSASEXTENSIONATTRIBUTE
,
457 MACROTYPE_MTSASTOKEN
,
458 MACROTYPE_MTSASTOKENDATA
,
459 MACROTYPE_MTSASSECURITYCATEGORY
,
463 MACROTYPE_ASNABSTRACTBIND
,
464 MACROTYPE_ASNABSTRACTUNBIND
,
465 MACROTYPE_ASNABSTRACTOPERATION
,
466 MACROTYPE_ASNABSTRACTERROR
,
467 MACROTYPE_AFALGORITHM
,
468 MACROTYPE_AFENCRYPTED
,
469 MACROTYPE_AFPROTECTED
,
470 MACROTYPE_AFSIGNATURE
,
472 MACROTYPE_SNMPOBJECTTYPE
474 union MacroTypeChoiceUnion
476 struct RosOperationMacroType
*rosOperation
; /* [0] IMPLICIT RosOperationMacroType */
477 struct RosErrorMacroType
*rosError
; /* [1] IMPLICIT RosErrorMacroType */
478 struct RosBindMacroType
*rosBind
; /* [2] IMPLICIT RosBindMacroType */
479 struct RosBindMacroType
*rosUnbind
; /* [3] IMPLICIT RosBindMacroType */
480 struct RosAseMacroType
*rosAse
; /* [4] IMPLICIT RosAseMacroType */
481 struct RosAcMacroType
*rosAc
; /* [5] IMPLICIT RosAcMacroType */
482 struct MtsasExtensionMacroType
*mtsasExtension
; /* [6] IMPLICIT MtsasExtensionMacroType */
483 struct MtsasExtensionsMacroType
*mtsasExtensions
; /* [7] IMPLICIT MtsasExtensionsMacroType */
484 struct MtsasExtensionAttributeMacroType
*mtsasExtensionAttribute
; /* [8] IMPLICIT MtsasExtensionAttributeMacroType */
485 struct MtsasTokenMacroType
*mtsasToken
; /* [9] IMPLICIT MtsasTokenMacroType */
486 struct MtsasTokenDataMacroType
*mtsasTokenData
; /* [10] IMPLICIT MtsasTokenDataMacroType */
487 struct MtsasSecurityCategoryMacroType
*mtsasSecurityCategory
; /* [11] IMPLICIT MtsasSecurityCategoryMacroType */
488 struct AsnObjectMacroType
*asnObject
; /* [12] IMPLICIT AsnObjectMacroType */
489 struct AsnPortMacroType
*asnPort
; /* [13] IMPLICIT AsnPortMacroType */
490 AsnRefineMacroType asnRefine
; /* [14] IMPLICIT AsnRefineMacroType */
491 struct AsnAbstractBindMacroType
*asnAbstractBind
; /* [15] IMPLICIT AsnAbstractBindMacroType */
492 struct AsnAbstractBindMacroType
*asnAbstractUnbind
; /* [16] IMPLICIT AsnAbstractBindMacroType */
493 struct RosOperationMacroType
*asnAbstractOperation
; /* [17] IMPLICIT RosOperationMacroType */
494 struct RosErrorMacroType
*asnAbstractError
; /* [18] IMPLICIT RosErrorMacroType */
495 struct Type
*afAlgorithm
; /* [19] IMPLICIT Type */
496 struct Type
*afEncrypted
; /* [20] IMPLICIT Type */
497 struct Type
*afProtected
; /* [21] IMPLICIT Type */
498 struct Type
*afSignature
; /* [22] IMPLICIT Type */
499 struct Type
*afSigned
; /* [23] IMPLICIT Type */
500 struct SnmpObjectTypeMacroType
*snmpObjectType
; /* [24] IMPLICIT SnmpObjectTypeMacroType */
507 typedef struct AnyDefinedByType
/* SEQUENCE */
509 MyString fieldName
; /* MyString */
510 struct NamedType
*link
; /* NamedType OPTIONAL */
516 typedef struct SelectionType
/* SEQUENCE */
518 MyString fieldName
; /* MyString */
519 struct Type
*typeRef
; /* Type */
520 struct NamedType
*link
; /* NamedType OPTIONAL */
526 typedef struct NamedType
/* SEQUENCE */
528 MyString fieldName
; /* MyString */
529 struct Type
*type
; /* Type */
535 typedef struct TypeRef
/* SEQUENCE */
537 MyString typeName
; /* MyString */
538 MyString moduleName
; /* MyString */
539 struct Module
*module; /* Module */
540 struct TypeDef
*link
; /* TypeDef */
546 typedef struct RosOperationMacroType
/* SEQUENCE */
548 struct NamedType
*arguments
; /* NamedType */
549 struct NamedType
*result
; /* NamedType */
550 TypeOrValueList
*errors
; /* [0] IMPLICIT TypeOrValueList OPTIONAL */
551 TypeOrValueList
*linkedOps
; /* [1] IMPLICIT TypeOrValueList OPTIONAL */
552 } RosOperationMacroType
;
557 typedef struct TypeOrValue
/* CHOICE */
559 enum TypeOrValueChoiceId
564 union TypeOrValueChoiceUnion
566 struct Type
*type
; /* [0] IMPLICIT Type */
567 struct Value
*value
; /* [1] IMPLICIT Value */
574 typedef struct RosErrorMacroType
/* SEQUENCE */
576 struct NamedType
*parameter
; /* NamedType */
582 typedef struct RosBindMacroType
/* SEQUENCE */
584 struct NamedType
*argument
; /* NamedType */
585 struct NamedType
*result
; /* NamedType */
586 struct NamedType
*error
; /* NamedType */
592 typedef struct RosAseMacroType
/* SEQUENCE */
594 ValueList
*operations
; /* ValueList */
595 ValueList
*consumerInvokes
; /* ValueList */
596 ValueList
*supplierInvokes
; /* ValueList */
602 typedef struct RosAcMacroType
/* SEQUENCE */
604 ValueList
*nonRoElements
; /* ValueList */
605 struct Type
*bindMacroType
; /* Type */
606 struct Type
*unbindMacroType
; /* Type */
607 struct Value
*remoteOperations
; /* Value */
608 ValueList
*operationsOf
; /* ValueList */
609 ValueList
*initiatorConsumerOf
; /* ValueList */
610 ValueList
*responderConsumerOf
; /* ValueList */
611 OidList
*abstractSyntaxes
; /* OidList */
617 typedef struct MtsasExtensionMacroType
/* SEQUENCE */
619 struct NamedType
*elmtType
; /* [0] IMPLICIT NamedType OPTIONAL */
620 struct Value
*defaultValue
; /* [1] IMPLICIT Value OPTIONAL */
621 AsnBool
*criticalForSubmission
; /* [2] IMPLICIT BOOLEAN OPTIONAL */
622 AsnBool
*criticalForTransfer
; /* [3] IMPLICIT BOOLEAN OPTIONAL */
623 AsnBool
*criticalForDelivery
; /* [4] IMPLICIT BOOLEAN OPTIONAL */
624 } MtsasExtensionMacroType
;
629 typedef struct MtsasExtensionsMacroType
/* SEQUENCE */
631 ValueList
*extensions
; /* ValueList */
632 } MtsasExtensionsMacroType
;
637 typedef struct MtsasExtensionAttributeMacroType
/* SEQUENCE */
639 struct Type
*type
; /* Type OPTIONAL */
640 } MtsasExtensionAttributeMacroType
;
645 typedef struct MtsasTokenMacroType
/* SEQUENCE */
647 struct Type
*type
; /* Type OPTIONAL */
648 } MtsasTokenMacroType
;
653 typedef struct MtsasTokenDataMacroType
/* SEQUENCE */
655 struct Type
*type
; /* Type OPTIONAL */
656 } MtsasTokenDataMacroType
;
661 typedef struct MtsasSecurityCategoryMacroType
/* SEQUENCE */
663 struct Type
*type
; /* Type OPTIONAL */
664 } MtsasSecurityCategoryMacroType
;
669 typedef struct AsnObjectMacroType
/* SEQUENCE */
671 AsnPortList
*ports
; /* AsnPortList OPTIONAL */
672 } AsnObjectMacroType
;
677 typedef struct AsnPort
/* SEQUENCE */
679 struct Value
*portValue
; /* Value */
680 AsnPortEnum portType
; /* AsnPortEnum */
686 typedef struct AsnPortMacroType
/* SEQUENCE */
688 TypeOrValueList
*abstractOps
; /* [0] IMPLICIT TypeOrValueList OPTIONAL */
689 TypeOrValueList
*consumerInvokes
; /* [1] IMPLICIT TypeOrValueList OPTIONAL */
690 TypeOrValueList
*supplierInvokes
; /* [2] IMPLICIT TypeOrValueList OPTIONAL */
696 typedef struct AsnAbstractBindMacroType
/* SEQUENCE */
698 AsnPortList
*ports
; /* [0] IMPLICIT AsnPortList OPTIONAL */
699 struct Type
*type
; /* [1] IMPLICIT Type OPTIONAL */
700 } AsnAbstractBindMacroType
;
705 typedef struct SnmpObjectTypeMacroType
/* SEQUENCE */
707 struct Type
*syntax
; /* Type */
708 SnmpObjectTypeMacroTypeEnum access
; /* SnmpObjectTypeMacroTypeEnum */
709 SnmpObjectTypeMacroTypeEnum1 status
; /* SnmpObjectTypeMacroTypeEnum1 */
710 struct Value
*description
; /* [0] IMPLICIT Value OPTIONAL */
711 struct Value
*reference
; /* [1] IMPLICIT Value OPTIONAL */
712 TypeOrValueList
*index
; /* [2] IMPLICIT TypeOrValueList OPTIONAL */
713 struct Value
*defVal
; /* [3] IMPLICIT Value OPTIONAL */
714 } SnmpObjectTypeMacroType
;
719 typedef struct Subtype
/* CHOICE */
728 union SubtypeChoiceUnion
730 struct SubtypeValue
*single
; /* [0] SubtypeValue */
731 SubtypeList
*and; /* [1] IMPLICIT SubtypeList */
732 SubtypeList
*or; /* [2] IMPLICIT SubtypeList */
733 struct Subtype
*not; /* [3] Subtype */
740 typedef struct SubtypeValue
/* CHOICE */
742 enum SubtypeValueChoiceId
744 SUBTYPEVALUE_SINGLEVALUE
,
745 SUBTYPEVALUE_CONTAINED
,
746 SUBTYPEVALUE_VALUERANGE
,
747 SUBTYPEVALUE_PERMITTEDALPHABET
,
748 SUBTYPEVALUE_SIZECONSTRAINT
,
749 SUBTYPEVALUE_INNERSUBTYPE
751 union SubtypeValueChoiceUnion
753 struct Value
*singleValue
; /* [0] IMPLICIT Value */
754 struct Type
*contained
; /* [1] IMPLICIT Type */
755 struct ValueRangeSubtype
*valueRange
; /* [2] IMPLICIT ValueRangeSubtype */
756 struct Subtype
*permittedAlphabet
; /* [3] Subtype */
757 struct Subtype
*sizeConstraint
; /* [4] Subtype */
758 struct InnerSubtype
*innerSubtype
; /* [5] IMPLICIT InnerSubtype */
765 typedef struct ValueRangeSubtype
/* SEQUENCE */
767 AsnBool lowerEndInclusive
; /* BOOLEAN */
768 AsnBool upperEndInclusive
; /* BOOLEAN */
769 struct Value
*lowerEndValue
; /* Value */
770 struct Value
*upperEndValue
; /* Value */
776 typedef struct InnerSubtype
/* SEQUENCE */
778 InnerSubtypeEnum constraintType
; /* InnerSubtypeEnum */
779 ConstraintList
*constraints
; /* ConstraintList */
785 typedef struct Constraint
/* SEQUENCE */
787 MyString fieldRef
; /* MyString */
788 ConstraintEnum presenceConstraint
; /* ConstraintEnum */
789 struct Subtype
*valueConstraints
; /* Subtype */
795 typedef struct ValueDef
/* SEQUENCE */
797 AsnBool exported
; /* BOOLEAN */
798 MyString definedName
; /* MyString */
799 struct Value
*value
; /* Value */
805 typedef struct Value
/* SEQUENCE */
807 struct Type
*type
; /* Type OPTIONAL */
808 AsnInt valueType
; /* INTEGER */
809 struct BasicValue
*basicValue
; /* BasicValue */
810 AsnInt lineNo
; /* INTEGER */
816 typedef struct BasicValue
/* CHOICE */
818 enum BasicValueChoiceId
823 BASICVALUE_SPECIALINTEGER
,
824 BASICVALUE_LONGINTEGER
,
827 BASICVALUE_SPECIALREAL
,
828 BASICVALUE_ASCIITEXT
,
830 BASICVALUE_ASCIIBITSTRING
,
832 BASICVALUE_LINKEDOID
,
835 BASICVALUE_NAMEDVALUE
,
837 BASICVALUE_LOCALVALUEREF
,
838 BASICVALUE_IMPORTVALUEREF
,
839 BASICVALUE_VALUENOTATION
841 union BasicValueChoiceUnion
843 AsnNull unknown
; /* [0] IMPLICIT NULL */
844 AsnNull empty
; /* [1] IMPLICIT NULL */
845 AsnInt integer
; /* [2] IMPLICIT INTEGER */
846 SpecialIntegerValue specialInteger
; /* [3] IMPLICIT SpecialIntegerValue */
847 AsnInt longInteger
; /* [4] IMPLICIT INTEGER */
848 AsnBool boolean
; /* [5] IMPLICIT BOOLEAN */
849 AsnReal real
; /* [6] IMPLICIT REAL */
850 SpecialRealValue specialReal
; /* [7] IMPLICIT SpecialRealValue */
851 AsnOcts
*asciiText
; /* [8] IMPLICIT OCTET STRING */
852 AsnOcts
*asciiHex
; /* [9] IMPLICIT OCTET STRING */
853 AsnOcts
*asciiBitString
; /* [10] IMPLICIT OCTET STRING */
854 AsnOid
*oid
; /* [11] IMPLICIT OBJECT IDENTIFIER */
855 OID
*linkedOid
; /* [12] IMPLICIT OBJECT IDENTIFIER */
856 AsnOcts
*berValue
; /* [13] IMPLICIT OCTET STRING */
857 AsnOcts
*perValue
; /* [14] IMPLICIT OCTET STRING */
858 struct NamedValue
*namedValue
; /* [15] IMPLICIT NamedValue */
859 AsnNull null
; /* [16] IMPLICIT NULL */
860 struct ValueRef
*localValueRef
; /* [17] IMPLICIT ValueRef */
861 struct ValueRef
*importValueRef
; /* [18] IMPLICIT ValueRef */
862 AsnOcts
*valueNotation
; /* [19] IMPLICIT OCTET STRING */
869 typedef struct ValueRef
/* SEQUENCE */
871 MyString valueName
; /* MyString */
872 MyString moduleName
; /* MyString */
873 struct ValueDef
*link
; /* ValueDef */
874 struct Module
*module; /* Module */
880 typedef struct NamedValue
/* SEQUENCE */
882 MyString fieldName
; /* MyString */
883 struct Value
*value
; /* Value */
889 typedef AsnList ModuleList
; /* SEQUENCE OF Module */
894 typedef struct Modules
/* [APPLICATION 0] IMPLICIT SEQUENCE */
896 AsnInt creationTime
; /* INTEGER */
897 ModuleList
*modules
; /* ModuleList */
903 typedef AsnList NamedValueList
; /* SEQUENCE OF NamedValue */
906 typedef struct CTDI
/* SEQUENCE */
908 enum BasicTypeChoiceId asn1TypeId
; /* INTEGER */
909 CTypeId cTypeId
; /* CTypeId */
910 MyString cTypeName
; /* MyString */
911 AsnBool isPdu
; /* BOOLEAN */
912 AsnBool isEncDec
; /* BOOLEAN */
913 AsnBool isPtrForTypeDef
; /* BOOLEAN */
914 AsnBool isPtrForTypeRef
; /* BOOLEAN */
915 AsnBool isPtrInChoice
; /* BOOLEAN */
916 AsnBool isPtrForOpt
; /* BOOLEAN */
917 MyString optTestRoutineName
; /* MyString */
918 MyString defaultFieldName
; /* MyString */
919 MyString printRoutineName
; /* MyString */
920 MyString encodeRoutineName
; /* MyString */
921 MyString decodeRoutineName
; /* MyString */
922 MyString freeRoutineName
; /* MyString */
923 AsnBool genPrintRoutine
; /* BOOLEAN */
924 AsnBool genEncodeRoutine
; /* BOOLEAN */
925 AsnBool genDecodeRoutine
; /* BOOLEAN */
926 AsnBool genFreeRoutine
; /* BOOLEAN */
927 AsnBool genTypeDef
; /* BOOLEAN */
933 typedef struct CNamedElmt
/* SEQUENCE */
935 MyString name
; /* MyString */
936 AsnInt value
; /* INTEGER */
942 typedef struct CxxTDI
/* SEQUENCE */
944 enum BasicTypeChoiceId asn1TypeId
; /* INTEGER */
945 MyString className
; /* MyString */
946 AsnBool isPdu
; /* BOOLEAN */
947 AsnBool isEnc
; /* BOOLEAN */
948 AsnBool isPtrForTypeDef
; /* BOOLEAN */
949 AsnBool isPtrForOpt
; /* BOOLEAN */
950 AsnBool isPtrInChoice
; /* BOOLEAN */
951 AsnBool isPtrInSetAndSeq
; /* BOOLEAN */
952 AsnBool isPtrInList
; /* BOOLEAN */
953 MyString optTestRoutineName
; /* MyString */
954 MyString defaultFieldName
; /* MyString */
957 typedef struct IDLTDI
/* SEQUENCE */
959 enum BasicTypeChoiceId asn1TypeId
; /* INTEGER */
960 MyString typeName
; /* MyString */
961 AsnBool isPdu
; /* BOOLEAN */
962 AsnBool isEnc
; /* BOOLEAN */
963 AsnBool isPtrForTypeDef
; /* BOOLEAN */
964 AsnBool isPtrForOpt
; /* BOOLEAN */
965 AsnBool isPtrInChoice
; /* BOOLEAN */
966 AsnBool isPtrInSetAndSeq
; /* BOOLEAN */
967 AsnBool isPtrInList
; /* BOOLEAN */
968 MyString optTestRoutineName
; /* MyString */
969 MyString defaultFieldName
; /* MyString */
975 typedef AsnList CNamedElmts
; /* SEQUENCE OF CNamedElmt */
980 typedef struct CxxTRI
/* SEQUENCE */
982 AsnBool isEnc
; /* BOOLEAN */
983 MyString className
; /* MyString */
984 MyString fieldName
; /* MyString */
985 AsnBool isPtr
; /* BOOLEAN */
986 CNamedElmts
*namedElmts
; /* CNamedElmts */
987 MyString choiceIdSymbol
; /* MyString */
988 AsnInt choiceIdValue
; /* INTEGER */
989 MyString optTestRoutineName
; /* MyString */
992 typedef struct IDLTRI
/* SEQUENCE */
994 AsnBool isEnc
; /* BOOLEAN */
995 MyString typeName
; /* MyString */
996 MyString fieldName
; /* MyString */
997 AsnBool isPtr
; /* BOOLEAN */
998 CNamedElmts
*namedElmts
; /* CNamedElmts */
999 MyString choiceIdSymbol
; /* MyString */
1000 AsnInt choiceIdValue
; /* INTEGER */
1001 MyString optTestRoutineName
; /* MyString */
1007 typedef struct CTRI
/* SEQUENCE */
1009 CTypeId cTypeId
; /* CTypeId */
1010 MyString cFieldName
; /* MyString */
1011 MyString cTypeName
; /* MyString */
1012 AsnBool isPtr
; /* BOOLEAN */
1013 CNamedElmts
*cNamedElmts
; /* CNamedElmts OPTIONAL */
1014 AsnInt choiceIdValue
; /* INTEGER */
1015 MyString choiceIdSymbol
; /* MyString */
1016 MyString choiceIdEnumName
; /* MyString */
1017 MyString choiceIdEnumFieldName
; /* MyString */
1018 MyString optTestRoutineName
; /* MyString */
1019 MyString printRoutineName
; /* MyString */
1020 MyString encodeRoutineName
; /* MyString */
1021 MyString decodeRoutineName
; /* MyString */
1022 MyString freeRoutineName
; /* MyString */
1023 AsnBool isEncDec
; /* BOOLEAN */
1028 #endif /* conditional include of asn1module.h */