summaryrefslogtreecommitdiffstats
path: root/include/AARE-apdu.h
blob: ae10fda7fe98b36206d067857e7c8b0b9160b95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
 * From ASN.1 module "DialoguePDUs"
 * 	found in "DialoguePDUs.asn"
 */

#ifndef	_AARE_apdu_H_
#define	_AARE_apdu_H_


#include <asn_application.h>

/* Including external dependencies */
#include <BIT_STRING.h>
#include <OBJECT_IDENTIFIER.h>
#include "Associate-result.h"
#include "Associate-source-diagnostic.h"
#include "EXTERNAL.h"
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum protocol_version {
	protocol_version_version1	= 0
} e_protocol_version;

/* AARE-apdu */
typedef struct AARE_apdu {
	BIT_STRING_t	*protocol_version	/* DEFAULT {version1} */;
	OBJECT_IDENTIFIER_t	 application_context_name;
	Associate_result_t	 result;
	Associate_source_diagnostic_t	 result_source_diagnostic;
#if 0
	struct AARE_user_information {
		A_SEQUENCE_OF(EXTERNAL_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *user_information;
#else
	/* use the definition from ABRT-apdu.h */
	struct user_information *user_information;
#endif
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} AARE_apdu_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AARE_apdu;

#ifdef __cplusplus
}
#endif

#endif	/* _AARE_apdu_H_ */