mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-06-24 22:13:15 +00:00
54 lines
1.1 KiB
C
54 lines
1.1 KiB
C
/*
|
|
* SPDX-FileCopyrightText: (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
|
* SPDX-License-Identifier: BSD-1-Clause
|
|
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "ULP-Components"
|
|
* found in "../supl-common.asn"
|
|
*/
|
|
|
|
#ifndef _IPAddress_H
|
|
#define _IPAddress_H
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include <OCTET_STRING.h>
|
|
#include <constr_CHOICE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum IPAddress_PR
|
|
{
|
|
IPAddress_PR_NOTHING, /* No components present */
|
|
IPAddress_PR_ipv4Address,
|
|
IPAddress_PR_ipv6Address
|
|
} IPAddress_PR;
|
|
|
|
/* IPAddress */
|
|
typedef struct IPAddress
|
|
{
|
|
IPAddress_PR present;
|
|
union IPAddress_u
|
|
{
|
|
OCTET_STRING_t ipv4Address;
|
|
OCTET_STRING_t ipv6Address;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} IPAddress_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_IPAddress;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _IPAddress_H_ */
|
|
#include <asn_internal.h>
|