diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-23 01:29:46 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-26 16:42:07 +0200 |
commit | bc7c69d17052a1719cd1e254c91f6d2929c712ac (patch) | |
tree | 725992d201830f56e2add33a51ea7e9b3ec842fc /include/osmocom/hnbap/HNBAP_Tunnel-Information.h | |
parent | 651ff175d5f1272fee5c64975fe7adc7294305e5 (diff) |
hnbap: Use specific prefix for HNBAP generated code
Other libraries already use ASN1C_PREFIX except the HNBAP one. Let's use
it here to avoid collisions.
All new include/osmocom/hnbap/HNBAP_*.h and src/hnbap/HNBAP_*.c are
generated using the updated src/hnbap/Makefile.am.
Files such as src/*.c, test/* and include/osmocom/hnbap/hnbap_common.h
are modified manually to update structs/enums to new prefix.
Related: SYS#5516
Change-Id: I6c062f631527ae42811bfec134933671c05ecba6
Diffstat (limited to 'include/osmocom/hnbap/HNBAP_Tunnel-Information.h')
-rw-r--r-- | include/osmocom/hnbap/HNBAP_Tunnel-Information.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/osmocom/hnbap/HNBAP_Tunnel-Information.h b/include/osmocom/hnbap/HNBAP_Tunnel-Information.h new file mode 100644 index 0000000..f2ae37a --- /dev/null +++ b/include/osmocom/hnbap/HNBAP_Tunnel-Information.h @@ -0,0 +1,46 @@ +/* + * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) + * From ASN.1 module "HNBAP-IEs" + * found in "../../asn1/hnbap/HNBAP-IEs.asn" + * `asn1c -R -gen-PER` + */ + +#ifndef _HNBAP_Tunnel_Information_H_ +#define _HNBAP_Tunnel_Information_H_ + + +#include <asn_application.h> + +/* Including external dependencies */ +#include <osmocom/hnbap/HNBAP_IP-Address.h> +#include <osmocom/hnbap/HNBAP_UDP-Port-Number.h> +#include <osmocom/hnbap/HNBAP_IE-Extensions.h> +#include <constr_SEQUENCE.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* HNBAP_Tunnel-Information */ +typedef struct HNBAP_Tunnel_Information { + HNBAP_IP_Address_t iP_Address; + HNBAP_UDP_Port_Number_t *uDP_Port_Number /* OPTIONAL */; + HNBAP_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; +} HNBAP_Tunnel_Information_t; + +/* Implementation */ +extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Tunnel_Information; + +#ifdef __cplusplus +} +#endif + +#endif /* _HNBAP_Tunnel_Information_H_ */ +#include <asn_internal.h> |