Lev Walkin | f15320b | 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 _T61String_H_ |
| 6 | #define _T61String_H_ |
| 7 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 8 | #include <OCTET_STRING.h> |
| 9 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 14 | typedef OCTET_STRING_t T61String_t; /* Implemented via OCTET STRING */ |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 15 | |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 16 | extern asn_TYPE_descriptor_t asn_DEF_T61String; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 17 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 18 | #define T61String_free OCTET_STRING_free |
| 19 | #define T61String_print OCTET_STRING_print |
| 20 | #define T61String_constraint asn_generic_unknown_constraint |
| 21 | #define T61String_decode_ber OCTET_STRING_decode_ber |
| 22 | #define T61String_encode_der OCTET_STRING_encode_der |
| 23 | #define T61String_decode_xer OCTET_STRING_decode_xer_hex |
| 24 | #define T61String_encode_xer OCTET_STRING_encode_xer |
| 25 | #define T61String_decode_uper OCTET_STRING_decode_uper |
| 26 | #define T61String_encode_uper OCTET_STRING_encode_uper |
| 27 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 32 | #endif /* _T61String_H_ */ |