Browse Source

sabp: Generate C/H files for SABP; create libosmo-sabp

This uses the (modified) Osmocom asn1c on the (modified) SABP ASN.1
syntax to generate C code + header files for SABP parsing/encoding.

It also adds some helper code for message encoding and decoding as well
as a new libosmo-sabp shared library which can be used by programs to
implement SABP related functionality.

Change-Id: Ib9580d1af96354398da4c9f97b28a0e23d56e275
changes/94/15594/3
Harald Welte 3 years ago
parent
commit
e844bf7828
  1. 2
      .gitignore
  2. 2
      Makefile.am
  3. 3
      configure.ac
  4. 2
      include/osmocom/Makefile.am
  5. 78
      include/osmocom/sabp/Makefile.am
  6. 42
      include/osmocom/sabp/SABP_Available-Bandwidth.h
  7. 50
      include/osmocom/sabp/SABP_Broadcast-Message-Content-Validity-Indicator.h
  8. 42
      include/osmocom/sabp/SABP_Broadcast-Message-Content.h
  9. 53
      include/osmocom/sabp/SABP_Category.h
  10. 64
      include/osmocom/sabp/SABP_Cause.h
  11. 49
      include/osmocom/sabp/SABP_Criticality-Diagnostics.h
  12. 49
      include/osmocom/sabp/SABP_Criticality.h
  13. 54
      include/osmocom/sabp/SABP_CriticalityDiagnostics-IE-List.h
  14. 42
      include/osmocom/sabp/SABP_Data-Coding-Scheme.h
  15. 48
      include/osmocom/sabp/SABP_Error-Indication.h
  16. 45
      include/osmocom/sabp/SABP_Failure-List-Item.h
  17. 38
      include/osmocom/sabp/SABP_Failure-List.h
  18. 48
      include/osmocom/sabp/SABP_Failure.h
  19. 38
      include/osmocom/sabp/SABP_IE-Extensions.h
  20. 41
      include/osmocom/sabp/SABP_IE.h
  21. 41
      include/osmocom/sabp/SABP_InitiatingMessage.h
  22. 48
      include/osmocom/sabp/SABP_Kill-Complete.h
  23. 48
      include/osmocom/sabp/SABP_Kill-Failure.h
  24. 48
      include/osmocom/sabp/SABP_Kill.h
  25. 48
      include/osmocom/sabp/SABP_Load-Query-Complete.h
  26. 48
      include/osmocom/sabp/SABP_Load-Query-Failure.h
  27. 48
      include/osmocom/sabp/SABP_Load-Query.h
  28. 42
      include/osmocom/sabp/SABP_Message-Identifier.h
  29. 48
      include/osmocom/sabp/SABP_Message-Status-Query-Complete.h
  30. 48
      include/osmocom/sabp/SABP_Message-Status-Query-Failure.h
  31. 48
      include/osmocom/sabp/SABP_Message-Status-Query.h
  32. 52
      include/osmocom/sabp/SABP_MessageStructure.h
  33. 43
      include/osmocom/sabp/SABP_New-Serial-Number.h
  34. 51
      include/osmocom/sabp/SABP_Number-Of-Broadcasts-Completed-Info.h
  35. 47
      include/osmocom/sabp/SABP_Number-of-Broadcasts-Completed-List-Item.h
  36. 38
      include/osmocom/sabp/SABP_Number-of-Broadcasts-Completed-List.h
  37. 47
      include/osmocom/sabp/SABP_Number-of-Broadcasts-Requested.h
  38. 43
      include/osmocom/sabp/SABP_Old-Serial-Number.h
  39. 50
      include/osmocom/sabp/SABP_Paging-ETWS-Indicator.h
  40. 49
      include/osmocom/sabp/SABP_Presence.h
  41. 54
      include/osmocom/sabp/SABP_ProcedureCode.h
  42. 42
      include/osmocom/sabp/SABP_ProtocolExtensionID.h
  43. 67
      include/osmocom/sabp/SABP_ProtocolIE-ID.h
  44. 45
      include/osmocom/sabp/SABP_Radio-Resource-Loading-List-Item.h
  45. 38
      include/osmocom/sabp/SABP_Radio-Resource-Loading-List.h
  46. 48
      include/osmocom/sabp/SABP_Recovery-Indication.h
  47. 42
      include/osmocom/sabp/SABP_Repetition-Period.h
  48. 42
      include/osmocom/sabp/SABP_RepetitionNumber0.h
  49. 42
      include/osmocom/sabp/SABP_RepetitionNumber1.h
  50. 48
      include/osmocom/sabp/SABP_Reset-Complete.h
  51. 48
      include/osmocom/sabp/SABP_Reset-Failure.h
  52. 48
      include/osmocom/sabp/SABP_Reset.h
  53. 48
      include/osmocom/sabp/SABP_Restart.h
  54. 58
      include/osmocom/sabp/SABP_SABP-PDU.h
  55. 42
      include/osmocom/sabp/SABP_Serial-Number.h
  56. 39
      include/osmocom/sabp/SABP_Service-Area-Identifier.h
  57. 38
      include/osmocom/sabp/SABP_Service-Areas-List.h
  58. 41
      include/osmocom/sabp/SABP_SuccessfulOutcome.h
  59. 50
      include/osmocom/sabp/SABP_TriggeringMessage.h
  60. 51
      include/osmocom/sabp/SABP_TypeOfError.h
  61. 41
      include/osmocom/sabp/SABP_UnsuccessfulOutcome.h
  62. 42
      include/osmocom/sabp/SABP_Warning-Type.h
  63. 42
      include/osmocom/sabp/SABP_WarningSecurityInfo.h
  64. 48
      include/osmocom/sabp/SABP_Write-Replace-Complete.h
  65. 48
      include/osmocom/sabp/SABP_Write-Replace-Failure.h
  66. 48
      include/osmocom/sabp/SABP_Write-Replace.h
  67. 104
      include/osmocom/sabp/sabp_common.h
  68. 10
      libosmo-sabp.pc.in
  69. 3
      src/.gitignore
  70. 36
      src/Makefile.am
  71. 148
      src/sabp/Makefile.am
  72. 165
      src/sabp/SABP_Available-Bandwidth.c
  73. 165
      src/sabp/SABP_Broadcast-Message-Content-Validity-Indicator.c
  74. 171
      src/sabp/SABP_Broadcast-Message-Content.c
  75. 171
      src/sabp/SABP_Category.c
  76. 165
      src/sabp/SABP_Cause.c
  77. 103
      src/sabp/SABP_Criticality-Diagnostics.c
  78. 167
      src/sabp/SABP_Criticality.c
  79. 145
      src/sabp/SABP_CriticalityDiagnostics-IE-List.c
  80. 171
      src/sabp/SABP_Data-Coding-Scheme.c
  81. 145
      src/sabp/SABP_Error-Indication.c
  82. 83
      src/sabp/SABP_Failure-List-Item.c
  83. 59
      src/sabp/SABP_Failure-List.c
  84. 145
      src/sabp/SABP_Failure.c
  85. 59
      src/sabp/SABP_IE-Extensions.c
  86. 81
      src/sabp/SABP_IE.c
  87. 81
      src/sabp/SABP_InitiatingMessage.c
  88. 145
      src/sabp/SABP_Kill-Complete.c
  89. 145
      src/sabp/SABP_Kill-Failure.c
  90. 145
      src/sabp/SABP_Kill.c
  91. 145
      src/sabp/SABP_Load-Query-Complete.c
  92. 145
      src/sabp/SABP_Load-Query-Failure.c
  93. 145
      src/sabp/SABP_Load-Query.c
  94. 171
      src/sabp/SABP_Message-Identifier.c
  95. 145
      src/sabp/SABP_Message-Status-Query-Complete.c
  96. 145
      src/sabp/SABP_Message-Status-Query-Failure.c
  97. 145
      src/sabp/SABP_Message-Status-Query.c
  98. 135
      src/sabp/SABP_MessageStructure.c
  99. 157
      src/sabp/SABP_New-Serial-Number.c
  100. 167
      src/sabp/SABP_Number-Of-Broadcasts-Completed-Info.c
  101. Some files were not shown because too many files have changed in this diff Show More

2
.gitignore vendored

@ -34,6 +34,7 @@ src/tests/testsuite.log
src/osmo-hnbgw
tags
libosmo-ranap.pc
libosmo-sabp.pc
m4
gen_hnbap.stamp
gen_rua.stamp
@ -41,3 +42,4 @@ gen_ranap.stamp
include/osmocom/hnbap/hnbap_ies_defs.h
include/osmocom/rua/rua_ies_defs.h
include/osmocom/ranap/ranap_ies_defs.h
include/osmocom/sabp/sabp_ies_defs.h

2
Makefile.am

@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2
SUBDIRS = src include doc contrib
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmo-ranap.pc
pkgconfig_DATA = libosmo-ranap.pc libosmo-sabp.pc
EXTRA_DIST = asn1 .version README.md

3
configure.ac

@ -142,10 +142,12 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
AC_OUTPUT(
libosmo-ranap.pc
libosmo-sabp.pc
src/Makefile
src/hnbap/Makefile
src/ranap/Makefile
src/rua/Makefile
src/sabp/Makefile
src/tests/Makefile
Makefile
include/Makefile
@ -153,6 +155,7 @@ AC_OUTPUT(
include/osmocom/hnbap/Makefile
include/osmocom/ranap/Makefile
include/osmocom/rua/Makefile
include/osmocom/sabp/Makefile
include/osmocom/iuh/Makefile
doc/Makefile
doc/examples/Makefile

2
include/osmocom/Makefile.am

@ -1,2 +1,2 @@
SUBDIRS = hnbap ranap rua iuh
SUBDIRS = hnbap ranap rua sabp iuh

78
include/osmocom/sabp/Makefile.am

@ -0,0 +1,78 @@
# Ugly: sabp_ies_defs.h is generated from asn1tostruct.py at the same time as
# the sabp_*.c files in src/, but the sabp_ies_defs.h should live here. If
# the build process wants this header file, it should first build
# src/sabp_encoder.c and src/sabp_decoder.c.
# This rule sucks:
sabp_ies_defs.h:
$(MAKE) -C $(top_builddir)/src/ gen_sabp.stamp
sabp_HEADERS = \
sabp_ies_defs.h \
sabp_common.h \
SABP_InitiatingMessage.h \
SABP_SABP-PDU.h \
SABP_SuccessfulOutcome.h \
SABP_UnsuccessfulOutcome.h \
SABP_Criticality.h \
SABP_Presence.h \
SABP_ProcedureCode.h \
SABP_ProtocolExtensionID.h \
SABP_ProtocolIE-ID.h \
SABP_TriggeringMessage.h \
SABP_IE-Extensions.h \
SABP_Available-Bandwidth.h \
SABP_Broadcast-Message-Content.h \
SABP_Broadcast-Message-Content-Validity-Indicator.h \
SABP_Category.h \
SABP_Cause.h \
SABP_Criticality-Diagnostics.h \
SABP_CriticalityDiagnostics-IE-List.h \
SABP_MessageStructure.h \
SABP_Data-Coding-Scheme.h \
SABP_Failure-List.h \
SABP_Failure-List-Item.h \
SABP_Message-Identifier.h \
SABP_New-Serial-Number.h \
SABP_Number-of-Broadcasts-Completed-List.h \
SABP_Number-of-Broadcasts-Completed-List-Item.h \
SABP_Number-Of-Broadcasts-Completed-Info.h \
SABP_Number-of-Broadcasts-Requested.h \
SABP_Old-Serial-Number.h \
SABP_Paging-ETWS-Indicator.h \
SABP_Radio-Resource-Loading-List.h \
SABP_Radio-Resource-Loading-List-Item.h \
SABP_Recovery-Indication.h \
SABP_RepetitionNumber0.h \
SABP_RepetitionNumber1.h \
SABP_Repetition-Period.h \
SABP_Serial-Number.h \
SABP_Service-Area-Identifier.h \
SABP_Service-Areas-List.h \
SABP_TypeOfError.h \
SABP_WarningSecurityInfo.h \
SABP_Warning-Type.h \
SABP_Write-Replace.h \
SABP_Write-Replace-Complete.h \
SABP_Write-Replace-Failure.h \
SABP_Kill.h \
SABP_Kill-Complete.h \
SABP_Kill-Failure.h \
SABP_Load-Query.h \
SABP_Load-Query-Complete.h \
SABP_Load-Query-Failure.h \
SABP_Message-Status-Query.h \
SABP_Message-Status-Query-Complete.h \
SABP_Message-Status-Query-Failure.h \
SABP_Reset.h \
SABP_Reset-Complete.h \
SABP_Reset-Failure.h \
SABP_Restart.h \
SABP_Failure.h \
SABP_Error-Indication.h \
SABP_IE.h \
$(NULL)
sabpdir = $(includedir)/osmocom/sabp
DISTCLEANFILES = \
sabp_ies_defs.h

42
include/osmocom/sabp/SABP_Available-Bandwidth.h

@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Available_Bandwidth_H_
#define _SABP_Available_Bandwidth_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeInteger.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Available-Bandwidth */
typedef long SABP_Available_Bandwidth_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Available_Bandwidth;
asn_struct_free_f SABP_Available_Bandwidth_free;
asn_struct_print_f SABP_Available_Bandwidth_print;
asn_constr_check_f SABP_Available_Bandwidth_constraint;
ber_type_decoder_f SABP_Available_Bandwidth_decode_ber;
der_type_encoder_f SABP_Available_Bandwidth_encode_der;
xer_type_decoder_f SABP_Available_Bandwidth_decode_xer;
xer_type_encoder_f SABP_Available_Bandwidth_encode_xer;
per_type_decoder_f SABP_Available_Bandwidth_decode_uper;
per_type_encoder_f SABP_Available_Bandwidth_encode_uper;
per_type_decoder_f SABP_Available_Bandwidth_decode_aper;
per_type_encoder_f SABP_Available_Bandwidth_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Available_Bandwidth_H_ */
#include <asn_internal.h>

50
include/osmocom/sabp/SABP_Broadcast-Message-Content-Validity-Indicator.h

@ -0,0 +1,50 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Broadcast_Message_Content_Validity_Indicator_H_
#define _SABP_Broadcast_Message_Content_Validity_Indicator_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SABP_Broadcast_Message_Content_Validity_Indicator {
SABP_Broadcast_Message_Content_Validity_Indicator_broadcast_Message_Content_not_valid = 0
/*
* Enumeration is extensible
*/
} e_SABP_Broadcast_Message_Content_Validity_Indicator;
/* SABP_Broadcast-Message-Content-Validity-Indicator */
typedef long SABP_Broadcast_Message_Content_Validity_Indicator_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Broadcast_Message_Content_Validity_Indicator;
asn_struct_free_f SABP_Broadcast_Message_Content_Validity_Indicator_free;
asn_struct_print_f SABP_Broadcast_Message_Content_Validity_Indicator_print;
asn_constr_check_f SABP_Broadcast_Message_Content_Validity_Indicator_constraint;
ber_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_ber;
der_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_der;
xer_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_xer;
xer_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_xer;
per_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_uper;
per_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_uper;
per_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_aper;
per_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Broadcast_Message_Content_Validity_Indicator_H_ */
#include <asn_internal.h>

42
include/osmocom/sabp/SABP_Broadcast-Message-Content.h

@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Broadcast_Message_Content_H_
#define _SABP_Broadcast_Message_Content_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Broadcast-Message-Content */
typedef BIT_STRING_t SABP_Broadcast_Message_Content_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Broadcast_Message_Content;
asn_struct_free_f SABP_Broadcast_Message_Content_free;
asn_struct_print_f SABP_Broadcast_Message_Content_print;
asn_constr_check_f SABP_Broadcast_Message_Content_constraint;
ber_type_decoder_f SABP_Broadcast_Message_Content_decode_ber;
der_type_encoder_f SABP_Broadcast_Message_Content_encode_der;
xer_type_decoder_f SABP_Broadcast_Message_Content_decode_xer;
xer_type_encoder_f SABP_Broadcast_Message_Content_encode_xer;
per_type_decoder_f SABP_Broadcast_Message_Content_decode_uper;
per_type_encoder_f SABP_Broadcast_Message_Content_encode_uper;
per_type_decoder_f SABP_Broadcast_Message_Content_decode_aper;
per_type_encoder_f SABP_Broadcast_Message_Content_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Broadcast_Message_Content_H_ */
#include <asn_internal.h>

53
include/osmocom/sabp/SABP_Category.h

@ -0,0 +1,53 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Category_H_
#define _SABP_Category_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SABP_Category {
SABP_Category_high_priority = 0,
SABP_Category_background_priority = 1,
SABP_Category_normal_priority = 2,
SABP_Category_default_priority = 3
/*
* Enumeration is extensible
*/
} e_SABP_Category;
/* SABP_Category */
typedef long SABP_Category_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Category;
asn_struct_free_f SABP_Category_free;
asn_struct_print_f SABP_Category_print;
asn_constr_check_f SABP_Category_constraint;
ber_type_decoder_f SABP_Category_decode_ber;
der_type_encoder_f SABP_Category_encode_der;
xer_type_decoder_f SABP_Category_decode_xer;
xer_type_encoder_f SABP_Category_encode_xer;
per_type_decoder_f SABP_Category_decode_uper;
per_type_encoder_f SABP_Category_encode_uper;
per_type_decoder_f SABP_Category_decode_aper;
per_type_encoder_f SABP_Category_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Category_H_ */
#include <asn_internal.h>

64
include/osmocom/sabp/SABP_Cause.h

@ -0,0 +1,64 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Cause_H_
#define _SABP_Cause_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeInteger.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SABP_Cause {
SABP_Cause_parameter_not_recognised = 0,
SABP_Cause_parameter_value_invalid = 1,
SABP_Cause_valid_CN_message_not_identified = 2,
SABP_Cause_service_area_identity_not_valid = 3,
SABP_Cause_unrecognised_message = 4,
SABP_Cause_missing_mandatory_element = 5,
SABP_Cause_rNC_capacity_exceeded = 6,
SABP_Cause_rNC_memory_exceeded = 7,
SABP_Cause_service_area_broadcast_not_supported = 8,
SABP_Cause_service_area_broadcast_not_operational = 9,
SABP_Cause_message_reference_already_used = 10,
SABP_Cause_unspecifed_error = 11,
SABP_Cause_transfer_syntax_error = 12,
SABP_Cause_semantic_error = 13,
SABP_Cause_message_not_compatible_with_receiver_state = 14,
SABP_Cause_abstract_syntax_error_reject = 15,
SABP_Cause_abstract_syntax_error_ignore_and_notify = 16,
SABP_Cause_abstract_syntax_error_falsely_constructed_message = 17
} e_SABP_Cause;
/* SABP_Cause */
typedef long SABP_Cause_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Cause;
asn_struct_free_f SABP_Cause_free;
asn_struct_print_f SABP_Cause_print;
asn_constr_check_f SABP_Cause_constraint;
ber_type_decoder_f SABP_Cause_decode_ber;
der_type_encoder_f SABP_Cause_encode_der;
xer_type_decoder_f SABP_Cause_decode_xer;
xer_type_encoder_f SABP_Cause_encode_xer;
per_type_decoder_f SABP_Cause_decode_uper;
per_type_encoder_f SABP_Cause_encode_uper;
per_type_decoder_f SABP_Cause_decode_aper;
per_type_encoder_f SABP_Cause_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Cause_H_ */
#include <asn_internal.h>

49
include/osmocom/sabp/SABP_Criticality-Diagnostics.h

@ -0,0 +1,49 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Criticality_Diagnostics_H_
#define _SABP_Criticality_Diagnostics_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_ProcedureCode.h>
#include <osmocom/sabp/SABP_TriggeringMessage.h>
#include <osmocom/sabp/SABP_Criticality.h>
#include <osmocom/sabp/SABP_CriticalityDiagnostics-IE-List.h>
#include <osmocom/sabp/SABP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Criticality-Diagnostics */
typedef struct SABP_Criticality_Diagnostics {
SABP_ProcedureCode_t *procedureCode /* OPTIONAL */;
SABP_TriggeringMessage_t *triggeringMessage /* OPTIONAL */;
SABP_Criticality_t *procedureCriticality /* OPTIONAL */;
SABP_CriticalityDiagnostics_IE_List_t *iEsCriticalityDiagnostics /* OPTIONAL */;
SABP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Criticality_Diagnostics_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Criticality_Diagnostics;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Criticality_Diagnostics_H_ */
#include <asn_internal.h>

49
include/osmocom/sabp/SABP_Criticality.h

@ -0,0 +1,49 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-CommonDataTypes"
* found in "../../asn1/sabp/SABP-CommonDataTypes.asn"
*/
#ifndef _SABP_Criticality_H_
#define _SABP_Criticality_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeEnumerated.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum SABP_Criticality {
SABP_Criticality_reject = 0,
SABP_Criticality_ignore = 1,
SABP_Criticality_notify = 2
} e_SABP_Criticality;
/* SABP_Criticality */
typedef long SABP_Criticality_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Criticality;
asn_struct_free_f SABP_Criticality_free;
asn_struct_print_f SABP_Criticality_print;
asn_constr_check_f SABP_Criticality_constraint;
ber_type_decoder_f SABP_Criticality_decode_ber;
der_type_encoder_f SABP_Criticality_encode_der;
xer_type_decoder_f SABP_Criticality_decode_xer;
xer_type_encoder_f SABP_Criticality_encode_xer;
per_type_decoder_f SABP_Criticality_decode_uper;
per_type_encoder_f SABP_Criticality_encode_uper;
per_type_decoder_f SABP_Criticality_decode_aper;
per_type_encoder_f SABP_Criticality_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Criticality_H_ */
#include <asn_internal.h>

54
include/osmocom/sabp/SABP_CriticalityDiagnostics-IE-List.h

@ -0,0 +1,54 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_CriticalityDiagnostics_IE_List_H_
#define _SABP_CriticalityDiagnostics_IE_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sabp/SABP_Criticality.h>
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
#include <osmocom/sabp/SABP_RepetitionNumber0.h>
#include <osmocom/sabp/SABP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_CriticalityDiagnostics-IE-List */
typedef struct SABP_CriticalityDiagnostics_IE_List {
A_SEQUENCE_OF(struct Member {
SABP_Criticality_t iECriticality;
SABP_ProtocolIE_ID_t iE_ID;
SABP_RepetitionNumber0_t *repetitionNumber /* OPTIONAL */;
SABP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_CriticalityDiagnostics_IE_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_CriticalityDiagnostics_IE_List;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_CriticalityDiagnostics_IE_List_H_ */
#include <asn_internal.h>

42
include/osmocom/sabp/SABP_Data-Coding-Scheme.h

@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Data_Coding_Scheme_H_
#define _SABP_Data_Coding_Scheme_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Data-Coding-Scheme */
typedef BIT_STRING_t SABP_Data_Coding_Scheme_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Data_Coding_Scheme;
asn_struct_free_f SABP_Data_Coding_Scheme_free;
asn_struct_print_f SABP_Data_Coding_Scheme_print;
asn_constr_check_f SABP_Data_Coding_Scheme_constraint;
ber_type_decoder_f SABP_Data_Coding_Scheme_decode_ber;
der_type_encoder_f SABP_Data_Coding_Scheme_encode_der;
xer_type_decoder_f SABP_Data_Coding_Scheme_decode_xer;
xer_type_encoder_f SABP_Data_Coding_Scheme_encode_xer;
per_type_decoder_f SABP_Data_Coding_Scheme_decode_uper;
per_type_encoder_f SABP_Data_Coding_Scheme_encode_uper;
per_type_decoder_f SABP_Data_Coding_Scheme_decode_aper;
per_type_encoder_f SABP_Data_Coding_Scheme_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Data_Coding_Scheme_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Error-Indication.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Error_Indication_H_
#define _SABP_Error_Indication_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Error-Indication */
typedef struct SABP_Error_Indication {
struct error_Indication_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} error_Indication_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Error_Indication_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Error_Indication;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Error_Indication_H_ */
#include <asn_internal.h>

45
include/osmocom/sabp/SABP_Failure-List-Item.h

@ -0,0 +1,45 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Failure_List_Item_H_
#define _SABP_Failure_List_Item_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_Service-Area-Identifier.h>
#include <osmocom/sabp/SABP_Cause.h>
#include <osmocom/sabp/SABP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Failure-List-Item */
typedef struct SABP_Failure_List_Item {
SABP_Service_Area_Identifier_t service_area_identifier;
SABP_Cause_t cause;
SABP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Failure_List_Item_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure_List_Item;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Failure_List_Item_H_ */
#include <asn_internal.h>

38
include/osmocom/sabp/SABP_Failure-List.h

@ -0,0 +1,38 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Failure_List_H_
#define _SABP_Failure_List_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_Failure-List-Item.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Failure-List */
typedef struct SABP_Failure_List {
A_SEQUENCE_OF(SABP_Failure_List_Item_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Failure_List_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure_List;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Failure_List_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Failure.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Failure_H_
#define _SABP_Failure_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Failure */
typedef struct SABP_Failure {
struct failure_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} failure_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Failure_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Failure_H_ */
#include <asn_internal.h>

38
include/osmocom/sabp/SABP_IE-Extensions.h

@ -0,0 +1,38 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_IE_Extensions_H_
#define _SABP_IE_Extensions_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_IE-Extensions */
typedef struct SABP_IE_Extensions {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_IE_Extensions_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_IE_Extensions;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_IE_Extensions_H_ */
#include <asn_internal.h>

41
include/osmocom/sabp/SABP_IE.h

@ -0,0 +1,41 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_IE_H_
#define _SABP_IE_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
#include <osmocom/sabp/SABP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_IE */
typedef struct SABP_IE {
SABP_ProtocolIE_ID_t id;
SABP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_IE_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_IE;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_IE_H_ */
#include <asn_internal.h>

41
include/osmocom/sabp/SABP_InitiatingMessage.h

@ -0,0 +1,41 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_InitiatingMessage_H_
#define _SABP_InitiatingMessage_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_ProcedureCode.h>
#include <osmocom/sabp/SABP_Criticality.h>
#include <ANY.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_InitiatingMessage */
typedef struct SABP_InitiatingMessage {
SABP_ProcedureCode_t procedureCode;
SABP_Criticality_t criticality;
ANY_t value;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_InitiatingMessage_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_InitiatingMessage;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_InitiatingMessage_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Kill-Complete.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Kill_Complete_H_
#define _SABP_Kill_Complete_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Kill-Complete */
typedef struct SABP_Kill_Complete {
struct kill_Complete_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} kill_Complete_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Kill_Complete_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill_Complete;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Kill_Complete_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Kill-Failure.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Kill_Failure_H_
#define _SABP_Kill_Failure_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Kill-Failure */
typedef struct SABP_Kill_Failure {
struct kill_Failure_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} kill_Failure_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Kill_Failure_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill_Failure;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Kill_Failure_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Kill.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Kill_H_
#define _SABP_Kill_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Kill */
typedef struct SABP_Kill {
struct kill_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} kill_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Kill_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Kill_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Load-Query-Complete.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Load_Query_Complete_H_
#define _SABP_Load_Query_Complete_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Load-Query-Complete */
typedef struct SABP_Load_Query_Complete {
struct load_Query_Complete_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} load_Query_Complete_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Load_Query_Complete_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query_Complete;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Load_Query_Complete_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Load-Query-Failure.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Load_Query_Failure_H_
#define _SABP_Load_Query_Failure_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Load-Query-Failure */
typedef struct SABP_Load_Query_Failure {
struct load_Query_Failure_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} load_Query_Failure_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Load_Query_Failure_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query_Failure;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Load_Query_Failure_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Load-Query.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Load_Query_H_
#define _SABP_Load_Query_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Load-Query */
typedef struct SABP_Load_Query {
struct load_Query_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} load_Query_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Load_Query_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Load_Query_H_ */
#include <asn_internal.h>

42
include/osmocom/sabp/SABP_Message-Identifier.h

@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_Message_Identifier_H_
#define _SABP_Message_Identifier_H_
#include <asn_application.h>
/* Including external dependencies */
#include <BIT_STRING.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Message-Identifier */
typedef BIT_STRING_t SABP_Message_Identifier_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Identifier;
asn_struct_free_f SABP_Message_Identifier_free;
asn_struct_print_f SABP_Message_Identifier_print;
asn_constr_check_f SABP_Message_Identifier_constraint;
ber_type_decoder_f SABP_Message_Identifier_decode_ber;
der_type_encoder_f SABP_Message_Identifier_encode_der;
xer_type_decoder_f SABP_Message_Identifier_decode_xer;
xer_type_encoder_f SABP_Message_Identifier_encode_xer;
per_type_decoder_f SABP_Message_Identifier_decode_uper;
per_type_encoder_f SABP_Message_Identifier_encode_uper;
per_type_decoder_f SABP_Message_Identifier_decode_aper;
per_type_encoder_f SABP_Message_Identifier_encode_aper;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Message_Identifier_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Message-Status-Query-Complete.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Message_Status_Query_Complete_H_
#define _SABP_Message_Status_Query_Complete_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Message-Status-Query-Complete */
typedef struct SABP_Message_Status_Query_Complete {
struct message_Status_Query_Complete_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} message_Status_Query_Complete_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Message_Status_Query_Complete_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query_Complete;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Message_Status_Query_Complete_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Message-Status-Query-Failure.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Message_Status_Query_Failure_H_
#define _SABP_Message_Status_Query_Failure_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Message-Status-Query-Failure */
typedef struct SABP_Message_Status_Query_Failure {
struct message_Status_Query_Failure_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} message_Status_Query_Failure_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Message_Status_Query_Failure_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query_Failure;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Message_Status_Query_Failure_H_ */
#include <asn_internal.h>

48
include/osmocom/sabp/SABP_Message-Status-Query.h

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-PDU"
* found in "../../asn1/sabp/SABP-PDU.asn"
*/
#ifndef _SABP_Message_Status_Query_H_
#define _SABP_Message_Status_Query_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/sabp/SABP_IE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_Message-Status-Query */
typedef struct SABP_Message_Status_Query {
struct message_Status_Query_ies {
A_SEQUENCE_OF(SABP_IE_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} message_Status_Query_ies;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_Message_Status_Query_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_Message_Status_Query_H_ */
#include <asn_internal.h>

52
include/osmocom/sabp/SABP_MessageStructure.h

@ -0,0 +1,52 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_MessageStructure_H_
#define _SABP_MessageStructure_H_
#include <asn_application.h>
/* Including external dependencies */
#include <asn_SEQUENCE_OF.h>
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
#include <osmocom/sabp/SABP_RepetitionNumber1.h>
#include <osmocom/sabp/SABP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
extern "C" {
#endif
/* SABP_MessageStructure */
typedef struct SABP_MessageStructure {
A_SEQUENCE_OF(struct MemberA {
SABP_ProtocolIE_ID_t iE_ID;
SABP_RepetitionNumber1_t *repetitionNumber /* OPTIONAL */;
SABP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} SABP_MessageStructure_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_SABP_MessageStructure;
#ifdef __cplusplus
}
#endif
#endif /* _SABP_MessageStructure_H_ */
#include <asn_internal.h>

43
include/osmocom/sabp/SABP_New-Serial-Number.h

@ -0,0 +1,43 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "SABP-IEs"
* found in "../../asn1/sabp/SABP-IEs.asn"
*/
#ifndef _SABP_New_Serial_Number_H_
#define _SABP_New_Serial_Number_H_