vlm | fa67ddc | 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 _RELATIVE_OID_H_ |
| 6 | #define _RELATIVE_OID_H_ |
| 7 | |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 8 | #include <OBJECT_IDENTIFIER.h> |
| 9 | |
vlm | d157958 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 10 | /* Implemented via OBJECT IDENTIFIER */ |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 11 | typedef OBJECT_IDENTIFIER_t RELATIVE_OID_t; |
| 12 | |
vlm | ef6355b | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 13 | extern asn_TYPE_descriptor_t asn_DEF_RELATIVE_OID; |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 14 | |
| 15 | asn_struct_print_f RELATIVE_OID_print; |
vlm | 39ba4c4 | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 16 | xer_type_encoder_f RELATIVE_OID_encode_xer; |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 17 | |
| 18 | /********************************** |
| 19 | * Some handy conversion routines * |
| 20 | **********************************/ |
| 21 | |
vlm | 2e3dd3b | 2004-06-14 07:24:36 +0000 | [diff] [blame] | 22 | /* See OBJECT_IDENTIFIER_get_arcs() function in OBJECT_IDENTIFIER.h */ |
| 23 | int RELATIVE_OID_get_arcs(RELATIVE_OID_t *_roid, |
| 24 | void *arcs, unsigned int arc_type_size, unsigned int arc_slots); |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 25 | |
vlm | 1255771 | 2004-06-17 23:43:39 +0000 | [diff] [blame] | 26 | /* See OBJECT_IDENTIFIER_set_arcs() function in OBJECT_IDENTIFIER.h */ |
| 27 | int RELATIVE_OID_set_arcs(RELATIVE_OID_t *_roid, |
| 28 | void *arcs, unsigned int arc_type_size, unsigned int arcs_slots); |
| 29 | |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 30 | #endif /* _RELATIVE_OID_H_ */ |