vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 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 <constr_TYPE.h> |
| 9 | |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 10 | typedef struct asn1_SET_OF_specifics_s { |
| 11 | /* |
| 12 | * Target structure description. |
| 13 | */ |
| 14 | int struct_size; /* Size of the target structure. */ |
| 15 | int ctx_offset; /* Offset of the ber_dec_ctx_t member */ |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 16 | } asn1_SET_OF_specifics_t; |
| 17 | |
| 18 | /* |
| 19 | * A set specialized functions dealing with the SET OF type. |
| 20 | */ |
| 21 | asn_constr_check_f SET_OF_constraint; |
| 22 | ber_type_decoder_f SET_OF_decode_ber; |
| 23 | der_type_encoder_f SET_OF_encode_der; |
| 24 | asn_struct_print_f SET_OF_print; |
| 25 | asn_struct_free_f SET_OF_free; |
| 26 | |
| 27 | #endif /* _CONSTR_SET_OF_H_ */ |