]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/other/snmp/asn1/constr_SET_OF.h
Partially working snmp agent
[stg.git] / projects / stargazer / plugins / other / snmp / asn1 / constr_SET_OF.h
1 /*-
2  * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _CONSTR_SET_OF_H_
6 #define _CONSTR_SET_OF_H_
7
8 #include <asn_application.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef struct asn_SET_OF_specifics_s {
15         /*
16          * Target structure description.
17          */
18         int struct_size;        /* Size of the target structure. */
19         int ctx_offset;         /* Offset of the asn_struct_ctx_t member */
20
21         /* XER-specific stuff */
22         int as_XMLValueList;    /* The member type must be encoded like this */
23 } asn_SET_OF_specifics_t;
24
25 /*
26  * A set specialized functions dealing with the SET OF type.
27  */
28 asn_struct_free_f SET_OF_free;
29 asn_struct_print_f SET_OF_print;
30 asn_constr_check_f SET_OF_constraint;
31 ber_type_decoder_f SET_OF_decode_ber;
32 der_type_encoder_f SET_OF_encode_der;
33 xer_type_decoder_f SET_OF_decode_xer;
34 xer_type_encoder_f SET_OF_encode_xer;
35 per_type_decoder_f SET_OF_decode_uper;
36 per_type_encoder_f SET_OF_encode_uper;
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif  /* _CONSTR_SET_OF_H_ */