Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. |
| 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | #ifndef _ISO646String_H_ |
| 6 | #define _ISO646String_H_ |
| 7 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 8 | #include <asn_application.h> |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 9 | #include <VisibleString.h> |
| 10 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 15 | typedef VisibleString_t ISO646String_t; /* Implemented using VisibleString */ |
| 16 | |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 17 | extern asn_TYPE_descriptor_t asn_DEF_ISO646String; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 18 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 19 | #define ISO646String_free OCTET_STRING_free |
| 20 | #define ISO646String_print OCTET_STRING_print_utf8 |
| 21 | #define ISO646String_constraint VisibleString_constraint |
| 22 | #define ISO646String_decode_ber OCTET_STRING_decode_ber |
| 23 | #define ISO646String_encode_der OCTET_STRING_encode_der |
| 24 | #define ISO646String_decode_xer OCTET_STRING_decode_xer_utf8 |
| 25 | #define ISO646String_encode_xer OCTET_STRING_encode_xer_utf8 |
| 26 | #define ISO646String_decode_uper OCTET_STRING_decode_uper |
| 27 | #define ISO646String_encode_uper OCTET_STRING_encode_uper |
| 28 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 29 | #ifdef __cplusplus |
| 30 | } |
| 31 | #endif |
| 32 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 33 | #endif /* _ISO646String_H_ */ |