blob: 6478a2bd16c5cee471cbdac39f560b368b67f2a4 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
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 Walkin11c3e172004-09-24 21:00:50 +00008#include <asn_application.h>
Lev Walkinf15320b2004-06-03 03:38:44 +00009#include <VisibleString.h>
10
Lev Walkin21b41ac2005-07-24 09:03:44 +000011#ifdef __cplusplus
12extern "C" {
13#endif
14
Lev Walkinf15320b2004-06-03 03:38:44 +000015typedef VisibleString_t ISO646String_t; /* Implemented using VisibleString */
16
Lev Walkin5e033762004-09-29 13:26:15 +000017extern asn_TYPE_descriptor_t asn_DEF_ISO646String;
Lev Walkinf15320b2004-06-03 03:38:44 +000018
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080019#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 Walkin21b41ac2005-07-24 09:03:44 +000029#ifdef __cplusplus
30}
31#endif
32
Lev Walkinf15320b2004-06-03 03:38:44 +000033#endif /* _ISO646String_H_ */