Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
fa45e88b
Commit
fa45e88b
authored
Sep 10, 2020
by
luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify missed code
parent
4ac4fbe8
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
49 additions
and
49 deletions
+49
-49
ngap/libngap/ANY.c
ngap/libngap/ANY.c
+2
-2
ngap/libngap/BIT_STRING.c
ngap/libngap/BIT_STRING.c
+2
-2
ngap/libngap/BIT_STRING_oer.c
ngap/libngap/BIT_STRING_oer.c
+2
-2
ngap/libngap/INTEGER.c
ngap/libngap/INTEGER.c
+2
-2
ngap/libngap/INTEGER_oer.c
ngap/libngap/INTEGER_oer.c
+2
-2
ngap/libngap/NativeEnumerated.c
ngap/libngap/NativeEnumerated.c
+2
-2
ngap/libngap/NativeEnumerated_oer.c
ngap/libngap/NativeEnumerated_oer.c
+2
-2
ngap/libngap/NativeInteger.c
ngap/libngap/NativeInteger.c
+2
-2
ngap/libngap/NativeInteger_oer.c
ngap/libngap/NativeInteger_oer.c
+2
-2
ngap/libngap/Ngap_AMF-TNLAssociationSetupList.c
ngap/libngap/Ngap_AMF-TNLAssociationSetupList.c
+4
-4
ngap/libngap/OBJECT_IDENTIFIER.c
ngap/libngap/OBJECT_IDENTIFIER.c
+2
-2
ngap/libngap/OCTET_STRING.c
ngap/libngap/OCTET_STRING.c
+2
-2
ngap/libngap/OCTET_STRING_oer.c
ngap/libngap/OCTET_STRING_oer.c
+2
-2
ngap/libngap/OPEN_TYPE.c
ngap/libngap/OPEN_TYPE.c
+1
-1
ngap/libngap/PrintableString.c
ngap/libngap/PrintableString.c
+2
-2
ngap/libngap/asn_application.c
ngap/libngap/asn_application.c
+4
-4
ngap/libngap/constr_CHOICE.c
ngap/libngap/constr_CHOICE.c
+2
-2
ngap/libngap/constr_CHOICE_oer.c
ngap/libngap/constr_CHOICE_oer.c
+2
-2
ngap/libngap/constr_SEQUENCE.c
ngap/libngap/constr_SEQUENCE.c
+2
-2
ngap/libngap/constr_SEQUENCE_OF.c
ngap/libngap/constr_SEQUENCE_OF.c
+2
-2
ngap/libngap/constr_SEQUENCE_oer.c
ngap/libngap/constr_SEQUENCE_oer.c
+2
-2
ngap/libngap/constr_SET_OF.c
ngap/libngap/constr_SET_OF.c
+1
-1
ngap/libngap/constr_SET_OF_oer.c
ngap/libngap/constr_SET_OF_oer.c
+2
-2
ngap/libngap/constr_TYPE.h
ngap/libngap/constr_TYPE.h
+1
-1
No files found.
ngap/libngap/ANY.c
View file @
fa45e88b
...
@@ -19,13 +19,13 @@ asn_TYPE_operation_t asn_OP_ANY = {
...
@@ -19,13 +19,13 @@ asn_TYPE_operation_t asn_OP_ANY = {
OCTET_STRING_encode_der
,
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_decode_xer_hex
,
ANY_encode_xer
,
ANY_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
0
,
0
,
0
,
0
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
#else
#else
...
...
ngap/libngap/BIT_STRING.c
View file @
fa45e88b
...
@@ -25,13 +25,13 @@ asn_TYPE_operation_t asn_OP_BIT_STRING = {
...
@@ -25,13 +25,13 @@ asn_TYPE_operation_t asn_OP_BIT_STRING = {
OCTET_STRING_encode_der
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_encode_der
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_decode_xer_binary
,
OCTET_STRING_decode_xer_binary
,
BIT_STRING_encode_xer
,
BIT_STRING_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
BIT_STRING_decode_oer
,
BIT_STRING_decode_oer
,
BIT_STRING_encode_oer
,
BIT_STRING_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/BIT_STRING_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <BIT_STRING.h>
#include <BIT_STRING.h>
...
@@ -171,4 +171,4 @@ BIT_STRING_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -171,4 +171,4 @@ BIT_STRING_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/INTEGER.c
View file @
fa45e88b
...
@@ -22,13 +22,13 @@ asn_TYPE_operation_t asn_OP_INTEGER = {
...
@@ -22,13 +22,13 @@ asn_TYPE_operation_t asn_OP_INTEGER = {
INTEGER_encode_der
,
INTEGER_encode_der
,
INTEGER_decode_xer
,
INTEGER_decode_xer
,
INTEGER_encode_xer
,
INTEGER_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
INTEGER_decode_oer
,
/* OER decoder */
INTEGER_decode_oer
,
/* OER decoder */
INTEGER_encode_oer
,
/* Canonical OER encoder */
INTEGER_encode_oer
,
/* Canonical OER encoder */
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/INTEGER_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <INTEGER.h>
#include <INTEGER.h>
...
@@ -176,4 +176,4 @@ INTEGER_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -176,4 +176,4 @@ INTEGER_encode_oer(const asn_TYPE_descriptor_t *td,
ASN__ENCODED_OK
(
er
);
ASN__ENCODED_OK
(
er
);
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/NativeEnumerated.c
View file @
fa45e88b
...
@@ -26,13 +26,13 @@ asn_TYPE_operation_t asn_OP_NativeEnumerated = {
...
@@ -26,13 +26,13 @@ asn_TYPE_operation_t asn_OP_NativeEnumerated = {
NativeInteger_encode_der
,
NativeInteger_encode_der
,
NativeInteger_decode_xer
,
NativeInteger_decode_xer
,
NativeEnumerated_encode_xer
,
NativeEnumerated_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
NativeEnumerated_decode_oer
,
NativeEnumerated_decode_oer
,
NativeEnumerated_encode_oer
,
NativeEnumerated_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/NativeEnumerated_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <NativeEnumerated.h>
#include <NativeEnumerated.h>
...
@@ -146,4 +146,4 @@ NativeEnumerated_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -146,4 +146,4 @@ NativeEnumerated_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/NativeInteger.c
View file @
fa45e88b
...
@@ -27,13 +27,13 @@ asn_TYPE_operation_t asn_OP_NativeInteger = {
...
@@ -27,13 +27,13 @@ asn_TYPE_operation_t asn_OP_NativeInteger = {
NativeInteger_encode_der
,
NativeInteger_encode_der
,
NativeInteger_decode_xer
,
NativeInteger_decode_xer
,
NativeInteger_encode_xer
,
NativeInteger_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
NativeInteger_decode_oer
,
/* OER decoder */
NativeInteger_decode_oer
,
/* OER decoder */
NativeInteger_encode_oer
,
/* Canonical OER encoder */
NativeInteger_encode_oer
,
/* Canonical OER encoder */
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/NativeInteger_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <NativeInteger.h>
#include <NativeInteger.h>
...
@@ -96,4 +96,4 @@ NativeInteger_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -96,4 +96,4 @@ NativeInteger_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/Ngap_AMF-TNLAssociationSetupList.c
View file @
fa45e88b
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
#include "Ngap_AMF-TNLAssociationSetupList.h"
#include "Ngap_AMF-TNLAssociationSetupList.h"
#include "Ngap_AMF-TNLAssociationSetupItem.h"
#include "Ngap_AMF-TNLAssociationSetupItem.h"
static
asn_oer_constraints_t
asn_OER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
CC_NOTUSED
=
{
//
static asn_oer_constraints_t asn_OER_type_Ngap_AMF_TNLAssociationSetupList_constr_1 CC_NOTUSED = {
{
0
,
0
},
//
{ 0, 0 },
-
1
/* (SIZE(1..32)) */
};
//
-1 /* (SIZE(1..32)) */};
asn_per_constraints_t
asn_PER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
CC_NOTUSED
=
{
asn_per_constraints_t
asn_PER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
CC_NOTUSED
=
{
{
APC_UNCONSTRAINED
,
-
1
,
-
1
,
0
,
0
},
{
APC_UNCONSTRAINED
,
-
1
,
-
1
,
0
,
0
},
{
APC_CONSTRAINED
,
5
,
5
,
1
,
32
}
/* (SIZE(1..32)) */
,
{
APC_CONSTRAINED
,
5
,
5
,
1
,
32
}
/* (SIZE(1..32)) */
,
...
@@ -45,7 +45,7 @@ asn_TYPE_descriptor_t asn_DEF_Ngap_AMF_TNLAssociationSetupList = {
...
@@ -45,7 +45,7 @@ asn_TYPE_descriptor_t asn_DEF_Ngap_AMF_TNLAssociationSetupList = {
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
,
/* Same as above */
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
,
/* Same as above */
sizeof
(
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
)
sizeof
(
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
)
/
sizeof
(
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
[
0
]),
/* 1 */
/
sizeof
(
asn_DEF_Ngap_AMF_TNLAssociationSetupList_tags_1
[
0
]),
/* 1 */
{
&
asn_OER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
,
&
asn_PER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
,
SEQUENCE_OF_constraint
},
{
0
,
&
asn_PER_type_Ngap_AMF_TNLAssociationSetupList_constr_1
,
SEQUENCE_OF_constraint
},
asn_MBR_Ngap_AMF_TNLAssociationSetupList_1
,
asn_MBR_Ngap_AMF_TNLAssociationSetupList_1
,
1
,
/* Single element */
1
,
/* Single element */
&
asn_SPC_Ngap_AMF_TNLAssociationSetupList_specs_1
/* Additional specs */
&
asn_SPC_Ngap_AMF_TNLAssociationSetupList_specs_1
/* Additional specs */
...
...
ngap/libngap/OBJECT_IDENTIFIER.c
View file @
fa45e88b
...
@@ -23,13 +23,13 @@ asn_TYPE_operation_t asn_OP_OBJECT_IDENTIFIER = {
...
@@ -23,13 +23,13 @@ asn_TYPE_operation_t asn_OP_OBJECT_IDENTIFIER = {
der_encode_primitive
,
der_encode_primitive
,
OBJECT_IDENTIFIER_decode_xer
,
OBJECT_IDENTIFIER_decode_xer
,
OBJECT_IDENTIFIER_encode_xer
,
OBJECT_IDENTIFIER_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
OBJECT_IDENTIFIER_decode_oer
,
OBJECT_IDENTIFIER_decode_oer
,
OBJECT_IDENTIFIER_encode_oer
,
OBJECT_IDENTIFIER_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/OCTET_STRING.c
View file @
fa45e88b
...
@@ -28,13 +28,13 @@ asn_TYPE_operation_t asn_OP_OCTET_STRING = {
...
@@ -28,13 +28,13 @@ asn_TYPE_operation_t asn_OP_OCTET_STRING = {
OCTET_STRING_encode_der
,
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
OCTET_STRING_decode_oer
,
OCTET_STRING_decode_oer
,
OCTET_STRING_encode_oer
,
OCTET_STRING_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/OCTET_STRING_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <OCTET_STRING.h>
#include <OCTET_STRING.h>
...
@@ -168,4 +168,4 @@ OCTET_STRING_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -168,4 +168,4 @@ OCTET_STRING_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/OPEN_TYPE.c
View file @
fa45e88b
...
@@ -16,7 +16,7 @@ asn_TYPE_operation_t asn_OP_OPEN_TYPE = {
...
@@ -16,7 +16,7 @@ asn_TYPE_operation_t asn_OP_OPEN_TYPE = {
OPEN_TYPE_encode_der
,
OPEN_TYPE_encode_der
,
OPEN_TYPE_decode_xer
,
OPEN_TYPE_decode_xer
,
OPEN_TYPE_encode_xer
,
OPEN_TYPE_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
/* No OER support, use "-gen-OER" to enable */
0
,
0
,
/* No OER support, use "-gen-OER" to enable */
#else
#else
OPEN_TYPE_decode_oer
,
OPEN_TYPE_decode_oer
,
...
...
ngap/libngap/PrintableString.c
View file @
fa45e88b
...
@@ -55,13 +55,13 @@ asn_TYPE_operation_t asn_OP_PrintableString = {
...
@@ -55,13 +55,13 @@ asn_TYPE_operation_t asn_OP_PrintableString = {
OCTET_STRING_encode_der
,
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
OCTET_STRING_decode_oer
,
OCTET_STRING_decode_oer
,
OCTET_STRING_encode_oer
,
OCTET_STRING_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/asn_application.c
View file @
fa45e88b
...
@@ -287,13 +287,13 @@ asn_encode_internal(const asn_codec_ctx_t *opt_codec_ctx,
...
@@ -287,13 +287,13 @@ asn_encode_internal(const asn_codec_ctx_t *opt_codec_ctx,
errno
=
ENOENT
;
/* Transfer syntax is not defined for any type. */
errno
=
ENOENT
;
/* Transfer syntax is not defined for any type. */
ASN__ENCODE_FAILED
;
ASN__ENCODE_FAILED
;
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
case
ATS_BASIC_OER
:
case
ATS_BASIC_OER
:
case
ATS_CANONICAL_OER
:
case
ATS_CANONICAL_OER
:
errno
=
ENOENT
;
/* PER is not defined. */
errno
=
ENOENT
;
/* PER is not defined. */
ASN__ENCODE_FAILED
;
ASN__ENCODE_FAILED
;
break
;
break
;
#else
/* ASN_DISABLE_OER_SUPPORT */
#else
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
case
ATS_BASIC_OER
:
case
ATS_BASIC_OER
:
/* CANONICAL-OER is a superset of BASIC-OER. */
/* CANONICAL-OER is a superset of BASIC-OER. */
/* Fall through. */
/* Fall through. */
...
@@ -312,7 +312,7 @@ asn_encode_internal(const asn_codec_ctx_t *opt_codec_ctx,
...
@@ -312,7 +312,7 @@ asn_encode_internal(const asn_codec_ctx_t *opt_codec_ctx,
ASN__ENCODE_FAILED
;
ASN__ENCODE_FAILED
;
}
}
break
;
break
;
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
case
ATS_UNALIGNED_BASIC_PER
:
case
ATS_UNALIGNED_BASIC_PER
:
...
@@ -448,7 +448,7 @@ asn_decode(const asn_codec_ctx_t *opt_codec_ctx,
...
@@ -448,7 +448,7 @@ asn_decode(const asn_codec_ctx_t *opt_codec_ctx,
case
ATS_BASIC_OER
:
case
ATS_BASIC_OER
:
case
ATS_CANONICAL_OER
:
case
ATS_CANONICAL_OER
:
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
errno
=
ENOENT
;
errno
=
ENOENT
;
ASN__DECODE_FAILED
;
ASN__DECODE_FAILED
;
#else
#else
...
...
ngap/libngap/constr_CHOICE.c
View file @
fa45e88b
...
@@ -1491,13 +1491,13 @@ asn_TYPE_operation_t asn_OP_CHOICE = {
...
@@ -1491,13 +1491,13 @@ asn_TYPE_operation_t asn_OP_CHOICE = {
CHOICE_encode_der
,
CHOICE_encode_der
,
CHOICE_decode_xer
,
CHOICE_decode_xer
,
CHOICE_encode_xer
,
CHOICE_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
CHOICE_decode_oer
,
CHOICE_decode_oer
,
CHOICE_encode_oer
,
CHOICE_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/constr_CHOICE_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <constr_CHOICE.h>
#include <constr_CHOICE.h>
...
@@ -377,4 +377,4 @@ CHOICE_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -377,4 +377,4 @@ CHOICE_encode_oer(const asn_TYPE_descriptor_t *td,
return
er
;
return
er
;
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/constr_SEQUENCE.c
View file @
fa45e88b
...
@@ -1972,13 +1972,13 @@ asn_TYPE_operation_t asn_OP_SEQUENCE = {
...
@@ -1972,13 +1972,13 @@ asn_TYPE_operation_t asn_OP_SEQUENCE = {
SEQUENCE_encode_der
,
SEQUENCE_encode_der
,
SEQUENCE_decode_xer
,
SEQUENCE_decode_xer
,
SEQUENCE_encode_xer
,
SEQUENCE_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
SEQUENCE_decode_oer
,
SEQUENCE_decode_oer
,
SEQUENCE_encode_oer
,
SEQUENCE_encode_oer
,
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/constr_SEQUENCE_OF.c
View file @
fa45e88b
...
@@ -334,13 +334,13 @@ asn_TYPE_operation_t asn_OP_SEQUENCE_OF = {
...
@@ -334,13 +334,13 @@ asn_TYPE_operation_t asn_OP_SEQUENCE_OF = {
SEQUENCE_OF_encode_der
,
SEQUENCE_OF_encode_der
,
SEQUENCE_OF_decode_xer
,
SEQUENCE_OF_decode_xer
,
SEQUENCE_OF_encode_xer
,
SEQUENCE_OF_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
SEQUENCE_OF_decode_oer
,
/* Same as SET OF decoder. */
SEQUENCE_OF_decode_oer
,
/* Same as SET OF decoder. */
SEQUENCE_OF_encode_oer
,
/* Same as SET OF encoder */
SEQUENCE_OF_encode_oer
,
/* Same as SET OF encoder */
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
#ifdef ASN_DISABLE_PER_SUPPORT
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
0
,
0
,
...
...
ngap/libngap/constr_SEQUENCE_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE.h>
...
@@ -558,4 +558,4 @@ SEQUENCE_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -558,4 +558,4 @@ SEQUENCE_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/constr_SET_OF.c
View file @
fa45e88b
...
@@ -1277,7 +1277,7 @@ asn_TYPE_operation_t asn_OP_SET_OF = {
...
@@ -1277,7 +1277,7 @@ asn_TYPE_operation_t asn_OP_SET_OF = {
SET_OF_encode_der
,
SET_OF_encode_der
,
SET_OF_decode_xer
,
SET_OF_decode_xer
,
SET_OF_encode_xer
,
SET_OF_encode_xer
,
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
0
,
0
,
0
,
0
,
#else
#else
...
...
ngap/libngap/constr_SET_OF_oer.c
View file @
fa45e88b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* All rights reserved.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
* Redistribution and modifications are permitted subject to BSD license.
*/
*/
#ifndef ASN_DISABLE_OER_SUPPORT
#ifndef ASN_DISABLE_OER_SUPPORT
_NGAP
#include <asn_internal.h>
#include <asn_internal.h>
#include <constr_SET_OF.h>
#include <constr_SET_OF.h>
...
@@ -282,4 +282,4 @@ SET_OF_encode_oer(const asn_TYPE_descriptor_t *td,
...
@@ -282,4 +282,4 @@ SET_OF_encode_oer(const asn_TYPE_descriptor_t *td,
}
}
}
}
#endif
/* ASN_DISABLE_OER_SUPPORT */
#endif
/* ASN_DISABLE_OER_SUPPORT
_NGAP
*/
ngap/libngap/constr_TYPE.h
View file @
fa45e88b
...
@@ -43,7 +43,7 @@ typedef struct asn_struct_ctx_s {
...
@@ -43,7 +43,7 @@ typedef struct asn_struct_ctx_s {
#include <constraints.h>
/* Subtype constraints support */
#include <constraints.h>
/* Subtype constraints support */
#include <asn_random_fill.h>
/* Random structures support */
#include <asn_random_fill.h>
/* Random structures support */
#ifdef ASN_DISABLE_OER_SUPPORT
#ifdef ASN_DISABLE_OER_SUPPORT
_NGAP
typedef
void
(
oer_type_decoder_f
)(
void
);
typedef
void
(
oer_type_decoder_f
)(
void
);
typedef
void
(
oer_type_encoder_f
)(
void
);
typedef
void
(
oer_type_encoder_f
)(
void
);
typedef
void
asn_oer_constraints_t
;
typedef
void
asn_oer_constraints_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment