加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
MS.h 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
eomer 提交于 2019-11-12 10:34 . init repo
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "DLT69845"
* found in "dlt698.45.asn1"
* `asn1c -gen-PER -pdu=all`
*/
#ifndef _MS_H_
#define _MS_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NULL.h>
#include "Unsigned.h"
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include "TSA.h"
#include "LongUnsigned.h"
#include <constr_CHOICE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum MS_PR {
MS_PR_NOTHING, /* No components present */
MS_PR_noMeter,
MS_PR_allAddr,
MS_PR_aGrpUserType,
MS_PR_aGrpUserAddr,
MS_PR_aGrpCfgSeq,
MS_PR_aGrpUserTypeInterv,
MS_PR_aGrpUserAddrInterv,
MS_PR_aGrpUserCfgSeqInterv
} MS_PR;
/* Forward declarations */
struct Region;
/* MS */
typedef struct MS {
MS_PR present;
union MS_u {
NULL_t noMeter;
NULL_t allAddr;
struct aGrpUserType {
A_SEQUENCE_OF(Unsigned_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpUserType;
struct aGrpUserAddr {
A_SEQUENCE_OF(TSA_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpUserAddr;
struct aGrpCfgSeq {
A_SEQUENCE_OF(LongUnsigned_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpCfgSeq;
struct aGrpUserTypeInterv {
A_SEQUENCE_OF(struct Region) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpUserTypeInterv;
struct aGrpUserAddrInterv {
A_SEQUENCE_OF(struct Region) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpUserAddrInterv;
struct aGrpUserCfgSeqInterv {
A_SEQUENCE_OF(struct Region) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} aGrpUserCfgSeqInterv;
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} MS_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_MS;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include "Region.h"
#endif /* _MS_H_ */
#include <asn_internal.h>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化