~ubuntu-branches/ubuntu/dapper/asn1c/dapper

« back to all changes in this revision

Viewing changes to skeletons/RELATIVE-OID.h

  • Committer: Bazaar Package Importer
  • Author(s): W. Borgert
  • Date: 2005-05-28 12:36:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050528123642-3h6kstws5u0xcovl
Tags: upstream-0.9.14
ImportĀ upstreamĀ versionĀ 0.9.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
#include <OBJECT_IDENTIFIER.h>
 
9
 
 
10
/* Implemented via OBJECT IDENTIFIER */
 
11
typedef OBJECT_IDENTIFIER_t RELATIVE_OID_t;
 
12
 
 
13
extern asn_TYPE_descriptor_t asn_DEF_RELATIVE_OID;
 
14
 
 
15
asn_struct_print_f RELATIVE_OID_print;
 
16
xer_type_decoder_f RELATIVE_OID_decode_xer;
 
17
xer_type_encoder_f RELATIVE_OID_encode_xer;
 
18
 
 
19
/**********************************
 
20
 * Some handy conversion routines *
 
21
 **********************************/
 
22
 
 
23
/* See OBJECT_IDENTIFIER_get_arcs() function in OBJECT_IDENTIFIER.h */
 
24
int RELATIVE_OID_get_arcs(RELATIVE_OID_t *_roid,
 
25
        void *arcs, unsigned int arc_type_size, unsigned int arc_slots);
 
26
 
 
27
/* See OBJECT_IDENTIFIER_set_arcs() function in OBJECT_IDENTIFIER.h */
 
28
int RELATIVE_OID_set_arcs(RELATIVE_OID_t *_roid,
 
29
        void *arcs, unsigned int arc_type_size, unsigned int arcs_slots);
 
30
 
 
31
#endif  /* _RELATIVE_OID_H_ */