Added SILC_ASN1_ANY_PRIMITIVE to encode/decode any pre-encoded
[silc.git] / lib / silcasn1 / silcasn1_i.h
index 394ba3bac254317f7219c327dd66a0bdc270b2c2..b602010548b5eb11bf37ce19fec8724f3700a395 100644 (file)
@@ -36,11 +36,12 @@ struct SilcAsn1Object {
 #define SILC_ASN1_RECURSION_DEPTH 512
 
 /* Implementation specific special tags.  Range is 0x7000 - 0x7fff. */
-#define SILC_ASN1_TAG_ANY          0x7000   /* SILC_ASN1_ANY given  */
-#define SILC_ASN1_TAG_FUNC         0x7001   /* Callback encoder/decoder */
-#define SILC_ASN1_TAG_OPTS         0x7002   /* SILC_ASN1_OPTS given */
-#define SILC_ASN1_TAG_CHOICE       0x7003   /* SILC_ASN1_CHOICE given */
-#define SILC_ASN1_TAG_SEQUENCE_OF  0x7004   /* SILC_ASN1_SEQUENCE_OF given */
+#define SILC_ASN1_TAG_ANY           0x7000  /* SILC_ASN1_ANY given  */
+#define SILC_ASN1_TAG_FUNC          0x7001  /* Callback encoder/decoder */
+#define SILC_ASN1_TAG_OPTS          0x7002  /* SILC_ASN1_OPTS given */
+#define SILC_ASN1_TAG_CHOICE        0x7003  /* SILC_ASN1_CHOICE given */
+#define SILC_ASN1_TAG_SEQUENCE_OF   0x7004  /* SILC_ASN1_SEQUENCE_OF given */
+#define SILC_ASN1_TAG_ANY_PRIMITIVE 0x7005  /* Pre-encoded primitive data */
 
 /* Helper macros for adding the arguments to encoder and decoder. */