2004-06-03 03:38:44 +00:00
|
|
|
/*-
|
|
|
|
* Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
|
|
|
* Redistribution and modifications are permitted subject to BSD license.
|
|
|
|
*/
|
|
|
|
#ifndef _RELATIVE_OID_H_
|
|
|
|
#define _RELATIVE_OID_H_
|
|
|
|
|
|
|
|
#include <constr_TYPE.h>
|
|
|
|
#include <OBJECT_IDENTIFIER.h>
|
|
|
|
|
|
|
|
/* Implemented in terms of OBJECT IDENTIFIER */
|
|
|
|
typedef OBJECT_IDENTIFIER_t RELATIVE_OID_t;
|
|
|
|
|
|
|
|
extern asn1_TYPE_descriptor_t asn1_DEF_RELATIVE_OID;
|
|
|
|
|
|
|
|
asn_struct_print_f RELATIVE_OID_print;
|
2004-09-22 16:06:28 +00:00
|
|
|
xer_type_encoder_f RELATIVE_OID_encode_xer;
|
2004-06-03 03:38:44 +00:00
|
|
|
|
|
|
|
/**********************************
|
|
|
|
* Some handy conversion routines *
|
|
|
|
**********************************/
|
|
|
|
|
2004-06-14 07:24:36 +00:00
|
|
|
/* See OBJECT_IDENTIFIER_get_arcs() function in OBJECT_IDENTIFIER.h */
|
|
|
|
int RELATIVE_OID_get_arcs(RELATIVE_OID_t *_roid,
|
|
|
|
void *arcs, unsigned int arc_type_size, unsigned int arc_slots);
|
2004-06-03 03:38:44 +00:00
|
|
|
|
2004-06-17 23:43:39 +00:00
|
|
|
/* See OBJECT_IDENTIFIER_set_arcs() function in OBJECT_IDENTIFIER.h */
|
|
|
|
int RELATIVE_OID_set_arcs(RELATIVE_OID_t *_roid,
|
|
|
|
void *arcs, unsigned int arc_type_size, unsigned int arcs_slots);
|
|
|
|
|
2004-06-03 03:38:44 +00:00
|
|
|
#endif /* _RELATIVE_OID_H_ */
|