Skip to content

Commit 7ba6435

Browse files
committed
Commit with code generated from newer asn1c
1 parent e6f69cc commit 7ba6435

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2913
-873
lines changed

src/asn1/Makefile

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,41 @@ include $(top_builddir)/src/Makefile.global
2424
override CPPFLAGS := -I$(top_builddir)/src/asn1 $(CPPFLAGS)
2525

2626
OBJS = ASNBinaryExpression.o ASNBinaryOperator.o ASNColumnRef.o ASNColumnRefItem.o ASNColumnRefList.o \
27-
ASNExpression.o ASNFromClause.o ASNPlusExpression.o ASNQuery.o ASNRangeVar.o ASNResTarget.o ASNSelectStmt.o \
28-
ASNString.o BIT_STRING.o BOOLEAN.o IA5String.o INTEGER.o NULL.o NativeEnumerated.o NativeInteger.o \
29-
NativeReal.o OCTET_STRING.o REAL.o UTF8String.o asn_SEQUENCE_OF.o asn_SET_OF.o asn_codecs_prim.o \
30-
ber_decoder.o ber_tlv_length.o ber_tlv_tag.o constr_CHOICE.o constr_SEQUENCE.o constr_SEQUENCE_OF.o \
31-
constr_SET_OF.o constr_TYPE.o constraints.o der_encoder.o per_decoder.o per_encoder.o per_support.o \
32-
xer_decoder.o xer_encoder.o xer_support.o pg-asn1-encode.o tree_to_asn1.o
33-
34-
GENH= generated/ASNBinaryExpression.h generated/ASNBinaryOperator.h generated/ASNColumnRef.h generated/ASNColumnRefItem.h \
35-
generated/ASNColumnRefList.h generated/ASNExpression.h generated/ASNFromClause.h generated/ASNPlusExpression.h \
36-
generated/ASNQuery.h generated/ASNRangeVar.h generated/ASNResTarget.h generated/ASNSelectStmt.h \
37-
generated/ASNString.h generated/BIT_STRING.h generated/BOOLEAN.h generated/IA5String.h generated/INTEGER.h \
38-
generated/NULL.h generated/NativeEnumerated.h generated/NativeInteger.h generated/NativeReal.h \
39-
generated/OCTET_STRING.h generated/REAL.h generated/UTF8String.h generated/asn_SEQUENCE_OF.h \
40-
generated/asn_SET_OF.h generated/asn_application.h generated/asn_codecs.h generated/asn_codecs_prim.h \
41-
generated/asn_internal.h generated/asn_system.h generated/ber_decoder.h generated/ber_tlv_length.h \
42-
generated/ber_tlv_tag.h generated/constr_CHOICE.h generated/constr_SEQUENCE.h generated/constr_SEQUENCE_OF.h \
43-
generated/constr_SET_OF.h generated/constr_TYPE.h generated/constraints.h generated/der_encoder.h \
44-
generated/per_decoder.h generated/per_encoder.h generated/per_support.h generated/xer_decoder.h \
45-
generated/xer_encoder.h generated/xer_support.h
27+
ASNExpression.o ASNFromClause.o ASNPlusExpression.o ASNQuery.o ASNRangeVar.o ASNResTarget.o \
28+
ASNResTargetExpression.o ASNSelectStmt.o ASNString.o BIT_STRING.o BOOLEAN.o IA5String.o INTEGER.o NULL.o \
29+
NativeEnumerated.o NativeInteger.o NativeReal.o OCTET_STRING.o REAL.o UTF8String.o asn_SEQUENCE_OF.o \
30+
asn_SET_OF.o asn_codecs_prim.o ber_decoder.o ber_tlv_length.o ber_tlv_tag.o constr_CHOICE.o \
31+
constr_SEQUENCE.o constr_SEQUENCE_OF.o constr_SET_OF.o constr_TYPE.o constraints.o der_encoder.o \
32+
per_decoder.o per_encoder.o per_support.o xer_decoder.o xer_encoder.o xer_support.o pg-asn1-encode.o \
33+
tree_to_asn1.o
34+
35+
GENH= generated/ASNBinaryExpression.h generated/ASNBinaryOperator.h generated/ASNColumnRef.h \
36+
generated/ASNColumnRefItem.h generated/ASNColumnRefList.h generated/ASNExpression.h generated/ASNFromClause.h \
37+
generated/ASNPlusExpression.h generated/ASNQuery.h generated/ASNRangeVar.h generated/ASNResTarget.h \
38+
generated/ASNResTargetExpression.h generated/ASNSelectStmt.h generated/ASNString.h generated/BIT_STRING.h \
39+
generated/BOOLEAN.h generated/IA5String.h generated/INTEGER.h generated/NULL.h generated/NativeEnumerated.h \
40+
generated/NativeInteger.h generated/NativeReal.h generated/OCTET_STRING.h generated/REAL.h generated/UTF8String.h \
41+
generated/asn_SEQUENCE_OF.h generated/asn_SET_OF.h generated/asn_application.h generated/asn_codecs.h \
42+
generated/asn_codecs_prim.h generated/asn_internal.h generated/asn_system.h generated/ber_decoder.h \
43+
generated/ber_tlv_length.h generated/ber_tlv_tag.h generated/constr_CHOICE.h generated/constr_SEQUENCE.h \
44+
generated/constr_SEQUENCE_OF.h generated/constr_SET_OF.h generated/constr_TYPE.h generated/constraints.h \
45+
generated/der_encoder.h generated/per_decoder.h generated/per_encoder.h generated/per_support.h \
46+
generated/xer_decoder.h generated/xer_encoder.h generated/xer_support.h generated/expr_types.h
4647

4748
HEADERS= pg-asn1-encode.h
4849

4950
GENC = generated/ASNBinaryExpression.c generated/ASNBinaryOperator.c generated/ASNColumnRef.c \
5051
generated/ASNColumnRefItem.c generated/ASNColumnRefList.c generated/ASNExpression.c generated/ASNFromClause.c \
5152
generated/ASNPlusExpression.c generated/ASNQuery.c generated/ASNRangeVar.c generated/ASNResTarget.c \
52-
generated/ASNSelectStmt.c generated/ASNString.c generated/BIT_STRING.c generated/BOOLEAN.c \
53-
generated/IA5String.c generated/INTEGER.c generated/NULL.c generated/NativeEnumerated.c \
53+
generated/ASNResTargetExpression.c generated/ASNSelectStmt.c generated/ASNString.c generated/BIT_STRING.c \
54+
generated/BOOLEAN.c generated/IA5String.c generated/INTEGER.c generated/NULL.c generated/NativeEnumerated.c \
5455
generated/NativeInteger.c generated/NativeReal.c generated/OCTET_STRING.c generated/REAL.c \
5556
generated/UTF8String.c generated/asn_SEQUENCE_OF.c generated/asn_SET_OF.c generated/asn_codecs_prim.c \
5657
generated/ber_decoder.c generated/ber_tlv_length.c generated/ber_tlv_tag.c generated/constr_CHOICE.c \
5758
generated/constr_SEQUENCE.c generated/constr_SEQUENCE_OF.c generated/constr_SET_OF.c generated/constr_TYPE.c \
5859
generated/constraints.c generated/der_encoder.c generated/per_decoder.c generated/per_encoder.c \
59-
generated/per_support.c generated/xer_decoder.c generated/xer_encoder.c generated/xer_support.c
60+
generated/per_support.c generated/xer_decoder.c generated/xer_encoder.c generated/xer_support.c \
61+
generated/expr_types.h
6062

6163
SOURCES= pg-asn1-encode.c tree_to_asn1.c
6264

@@ -75,7 +77,7 @@ $(top_builddir)/src/include/asn1/ASNQuery.h: generated/ASNQuery.h
7577
generated/ASNQuery.h: SQLQuery.asn1
7678
ifdef ASN1C
7779
-mkdir generated
78-
(cd generated; $(ASN1C) -fskeletons-copy -fnative-types -gen-PER ../SQLQuery.asn1 && touch ASNQuery.h)
80+
(cd generated; $(ASN1C) -gen-PER ../SQLQuery.asn1 && touch ASNQuery.h)
7981
-rm generated/converter-sample.c generated/Makefile.am.sample
8082
else
8183
@$(missing) asn1c $< $@

src/asn1/SQLQuery.asn1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ SQLQuery DEFINITIONS ::= BEGIN -- Module parameters preamble
3333
star [1] NULL
3434
}
3535

36+
ASNResTargetExpression ::= SEQUENCE {
37+
expr ASNExpression,
38+
colLabel ASNString OPTIONAL
39+
}
40+
3641
ASNResTarget ::= CHOICE {
3742
star [0] NULL,
3843
columnRef [1] ASNColumnRef,
39-
resTargetExpression [2] SEQUENCE {
40-
expr ASNExpression,
41-
colLabel ASNString OPTIONAL
42-
}
44+
resTargetExpression [2] ASNResTargetExpression
4345
}
4446

4547
ASNExpression ::= CHOICE {

src/asn1/generated/ASNBinaryExpression.c

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

8-
#include <asn_internal.h>
9-
107
#include "ASNBinaryExpression.h"
118

129
static asn_TYPE_member_t asn_MBR_ASNBinaryExpression_1[] = {
@@ -42,15 +39,15 @@ static ber_tlv_tag_t asn_DEF_ASNBinaryExpression_tags_1[] = {
4239
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
4340
};
4441
static asn_TYPE_tag2member_t asn_MAP_ASNBinaryExpression_tag2el_1[] = {
45-
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 }, /* operator at 54 */
46-
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 1 }, /* intConst at 46 */
47-
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, -1, 0 }, /* intConst at 46 */
48-
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 1 }, /* floatConst at 47 */
49-
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, -1, 0 }, /* floatConst at 47 */
50-
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 1 }, /* stringConst at 48 */
51-
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, -1, 0 }, /* stringConst at 48 */
52-
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 1 }, /* binaryExpr at 50 */
53-
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, -1, 0 } /* binaryExpr at 50 */
42+
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 }, /* operator */
43+
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 1 }, /* intConst */
44+
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, -1, 0 }, /* intConst */
45+
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 1 }, /* floatConst */
46+
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, -1, 0 }, /* floatConst */
47+
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 1 }, /* stringConst */
48+
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, -1, 0 }, /* stringConst */
49+
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 1 }, /* binaryExpr */
50+
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, -1, 0 } /* binaryExpr */
5451
};
5552
static asn_SEQUENCE_specifics_t asn_SPC_ASNBinaryExpression_specs_1 = {
5653
sizeof(struct ASNBinaryExpression),
@@ -83,6 +80,11 @@ asn_TYPE_descriptor_t asn_DEF_ASNBinaryExpression = {
8380
0, /* No PER visible constraints */
8481
asn_MBR_ASNBinaryExpression_1,
8582
3, /* Elements count */
86-
&asn_SPC_ASNBinaryExpression_specs_1 /* Additional specs */
83+
&asn_SPC_ASNBinaryExpression_specs_1, /* Additional specs */
84+
32, /* Top Expression: SEQUENCE */
85+
0, /* Not an Anonymous Type */
86+
sizeof(ASNBinaryExpression_t),
87+
1, /* Generated */
88+
"asn_DEF_ASNBinaryExpression" /* Symbol String */
8789
};
8890

src/asn1/generated/ASNBinaryExpression.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

87
#ifndef _ASNBinaryExpression_H_
@@ -43,3 +42,4 @@ extern asn_TYPE_descriptor_t asn_DEF_ASNBinaryExpression;
4342
#include "ASNExpression.h"
4443

4544
#endif /* _ASNBinaryExpression_H_ */
45+
#include <asn_internal.h>

src/asn1/generated/ASNBinaryOperator.c

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

8-
#include <asn_internal.h>
9-
107
#include "ASNBinaryOperator.h"
118

129
int
@@ -25,6 +22,7 @@ static void
2522
ASNBinaryOperator_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
2623
td->free_struct = asn_DEF_NativeEnumerated.free_struct;
2724
td->print_struct = asn_DEF_NativeEnumerated.print_struct;
25+
td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
2826
td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
2927
td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
3028
td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
@@ -97,6 +95,11 @@ ASNBinaryOperator_encode_uper(asn_TYPE_descriptor_t *td,
9795
return td->uper_encoder(td, constraints, structure, per_out);
9896
}
9997

98+
static asn_per_constraints_t asn_PER_type_ASNBinaryOperator_constr_1 GCC_NOTUSED = {
99+
{ APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */,
100+
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
101+
0, 0 /* No PER value map */
102+
};
100103
static asn_INTEGER_enum_map_t asn_MAP_ASNBinaryOperator_value2enum_1[] = {
101104
{ 0, 4, "plus" },
102105
{ 1, 5, "minus" },
@@ -128,15 +131,13 @@ static asn_INTEGER_specifics_t asn_SPC_ASNBinaryOperator_specs_1 = {
128131
asn_MAP_ASNBinaryOperator_enum2value_1, /* N => "tag"; sorted by N */
129132
11, /* Number of elements in the maps */
130133
0, /* Enumeration is not extensible */
131-
1 /* Strict enumeration */
134+
1, /* Strict enumeration */
135+
0, /* Native long size */
136+
0
132137
};
133138
static ber_tlv_tag_t asn_DEF_ASNBinaryOperator_tags_1[] = {
134139
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
135140
};
136-
static asn_per_constraints_t asn_PER_ASNBinaryOperator_constr_1 = {
137-
{ APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */,
138-
{ APC_UNCONSTRAINED, -1, -1, 0, 0 }
139-
};
140141
asn_TYPE_descriptor_t asn_DEF_ASNBinaryOperator = {
141142
"ASNBinaryOperator",
142143
"ASNBinaryOperator",
@@ -156,8 +157,13 @@ asn_TYPE_descriptor_t asn_DEF_ASNBinaryOperator = {
156157
asn_DEF_ASNBinaryOperator_tags_1, /* Same as above */
157158
sizeof(asn_DEF_ASNBinaryOperator_tags_1)
158159
/sizeof(asn_DEF_ASNBinaryOperator_tags_1[0]), /* 1 */
159-
&asn_PER_ASNBinaryOperator_constr_1,
160+
&asn_PER_type_ASNBinaryOperator_constr_1,
160161
0, 0, /* Defined elsewhere */
161-
&asn_SPC_ASNBinaryOperator_specs_1 /* Additional specs */
162+
&asn_SPC_ASNBinaryOperator_specs_1, /* Additional specs */
163+
69, /* Top Expression: ENUMERATED */
164+
0, /* Not an Anonymous Type */
165+
sizeof(ASNBinaryOperator_t),
166+
1, /* Generated */
167+
"asn_DEF_ASNBinaryOperator" /* Symbol String */
162168
};
163169

src/asn1/generated/ASNBinaryOperator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

87
#ifndef _ASNBinaryOperator_H_
@@ -53,3 +52,4 @@ per_type_encoder_f ASNBinaryOperator_encode_uper;
5352
#endif
5453

5554
#endif /* _ASNBinaryOperator_H_ */
55+
#include <asn_internal.h>

src/asn1/generated/ASNColumnRef.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

8-
#include <asn_internal.h>
9-
107
#include "ASNColumnRef.h"
118

129
static asn_TYPE_member_t asn_MBR_ASNColumnRef_1[] = {
@@ -24,7 +21,7 @@ static ber_tlv_tag_t asn_DEF_ASNColumnRef_tags_1[] = {
2421
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
2522
};
2623
static asn_TYPE_tag2member_t asn_MAP_ASNColumnRef_tag2el_1[] = {
27-
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* fields at 25 */
24+
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* fields */
2825
};
2926
static asn_SEQUENCE_specifics_t asn_SPC_ASNColumnRef_specs_1 = {
3027
sizeof(struct ASNColumnRef),
@@ -57,6 +54,11 @@ asn_TYPE_descriptor_t asn_DEF_ASNColumnRef = {
5754
0, /* No PER visible constraints */
5855
asn_MBR_ASNColumnRef_1,
5956
1, /* Elements count */
60-
&asn_SPC_ASNColumnRef_specs_1 /* Additional specs */
57+
&asn_SPC_ASNColumnRef_specs_1, /* Additional specs */
58+
32, /* Top Expression: SEQUENCE */
59+
0, /* Not an Anonymous Type */
60+
sizeof(ASNColumnRef_t),
61+
1, /* Generated */
62+
"asn_DEF_ASNColumnRef" /* Symbol String */
6163
};
6264

src/asn1/generated/ASNColumnRef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

87
#ifndef _ASNColumnRef_H_
@@ -35,3 +34,4 @@ extern asn_TYPE_descriptor_t asn_DEF_ASNColumnRef;
3534
#endif
3635

3736
#endif /* _ASNColumnRef_H_ */
37+
#include <asn_internal.h>

src/asn1/generated/ASNColumnRefItem.c

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

8-
#include <asn_internal.h>
9-
107
#include "ASNColumnRefItem.h"
118

9+
static asn_per_constraints_t asn_PER_type_ASNColumnRefItem_constr_1 GCC_NOTUSED = {
10+
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
11+
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
12+
0, 0 /* No PER value map */
13+
};
1214
static asn_TYPE_member_t asn_MBR_ASNColumnRefItem_1[] = {
1315
{ ATF_NOFLAGS, 0, offsetof(struct ASNColumnRefItem, choice.str),
1416
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
@@ -30,8 +32,8 @@ static asn_TYPE_member_t asn_MBR_ASNColumnRefItem_1[] = {
3032
},
3133
};
3234
static asn_TYPE_tag2member_t asn_MAP_ASNColumnRefItem_tag2el_1[] = {
33-
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* str at 32 */
34-
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* star at 33 */
35+
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* str */
36+
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* star */
3537
};
3638
static asn_CHOICE_specifics_t asn_SPC_ASNColumnRefItem_specs_1 = {
3739
sizeof(struct ASNColumnRefItem),
@@ -43,10 +45,6 @@ static asn_CHOICE_specifics_t asn_SPC_ASNColumnRefItem_specs_1 = {
4345
0,
4446
-1 /* Extensions start */
4547
};
46-
static asn_per_constraints_t asn_PER_ASNColumnRefItem_constr_1 = {
47-
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
48-
{ APC_UNCONSTRAINED, -1, -1, 0, 0 }
49-
};
5048
asn_TYPE_descriptor_t asn_DEF_ASNColumnRefItem = {
5149
"ASNColumnRefItem",
5250
"ASNColumnRefItem",
@@ -64,9 +62,14 @@ asn_TYPE_descriptor_t asn_DEF_ASNColumnRefItem = {
6462
0, /* No effective tags (count) */
6563
0, /* No tags (pointer) */
6664
0, /* No tags (count) */
67-
&asn_PER_ASNColumnRefItem_constr_1,
65+
&asn_PER_type_ASNColumnRefItem_constr_1,
6866
asn_MBR_ASNColumnRefItem_1,
6967
2, /* Elements count */
70-
&asn_SPC_ASNColumnRefItem_specs_1 /* Additional specs */
68+
&asn_SPC_ASNColumnRefItem_specs_1, /* Additional specs */
69+
33, /* Top Expression: CHOICE */
70+
0, /* Not an Anonymous Type */
71+
sizeof(ASNColumnRefItem_t),
72+
1, /* Generated */
73+
"asn_DEF_ASNColumnRefItem" /* Symbol String */
7174
};
7275

src/asn1/generated/ASNColumnRefItem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
2+
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
33
* From ASN.1 module "SQLQuery"
44
* found in "../SQLQuery.asn1"
5-
* `asn1c -fskeletons-copy -fnative-types`
65
*/
76

87
#ifndef _ASNColumnRefItem_H_
@@ -47,3 +46,4 @@ extern asn_TYPE_descriptor_t asn_DEF_ASNColumnRefItem;
4746
#endif
4847

4948
#endif /* _ASNColumnRefItem_H_ */
49+
#include <asn_internal.h>

0 commit comments

Comments
 (0)