Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / PrintableString.h
1 /*****************************************************************************
2 #                                                                            *
3 # Copyright 2019 AT&T Intellectual Property                                  *
4 #                                                                            *
5 # Licensed under the Apache License, Version 2.0 (the "License");            *
6 # you may not use this file except in compliance with the License.           *
7 # You may obtain a copy of the License at                                    *
8 #                                                                            *
9 #      http://www.apache.org/licenses/LICENSE-2.0                            *
10 #                                                                            *
11 # Unless required by applicable law or agreed to in writing, software        *
12 # distributed under the License is distributed on an "AS IS" BASIS,          *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
14 # See the License for the specific language governing permissions and        *
15 # limitations under the License.                                             *
16 #                                                                            *
17 ******************************************************************************/
18
19 /*-
20  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
21  * Redistribution and modifications are permitted subject to BSD license.
22  */
23 #ifndef _PrintableString_H_
24 #define _PrintableString_H_
25
26 #include <OCTET_STRING.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 typedef OCTET_STRING_t PrintableString_t;  /* Implemented via OCTET STRING */
33
34 extern asn_TYPE_descriptor_t asn_DEF_PrintableString;
35 extern asn_TYPE_operation_t asn_OP_PrintableString;
36
37 asn_constr_check_f PrintableString_constraint;
38
39 #define PrintableString_free            OCTET_STRING_free
40 #define PrintableString_print           OCTET_STRING_print_utf8
41 #define PrintableString_compare         OCTET_STRING_compare
42 #define PrintableString_decode_ber      OCTET_STRING_decode_ber
43 #define PrintableString_encode_der      OCTET_STRING_encode_der
44 #define PrintableString_decode_xer      OCTET_STRING_decode_xer_utf8
45 #define PrintableString_encode_xer      OCTET_STRING_encode_xer_utf8
46 #define PrintableString_decode_uper     OCTET_STRING_decode_uper
47 #define PrintableString_encode_uper     OCTET_STRING_encode_uper
48 #define PrintableString_decode_aper     OCTET_STRING_decode_aper
49 #define PrintableString_encode_aper     OCTET_STRING_encode_aper
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55 #endif  /* _PrintableString_H_ */