der-private.h revision 233294
1285612Sdelphij/* This is a generated file */
2285612Sdelphij#ifndef __der_private_h__
3285612Sdelphij#define __der_private_h__
4285612Sdelphij
5285612Sdelphij#include <stdarg.h>
6285612Sdelphij
7285612Sdelphijint
8285612Sdelphij_asn1_copy (
9285612Sdelphij	const struct asn1_template */*t*/,
10285612Sdelphij	const void */*from*/,
11285612Sdelphij	void */*to*/);
12285612Sdelphij
13285612Sdelphijint
14285612Sdelphij_asn1_copy_top (
15285612Sdelphij	const struct asn1_template */*t*/,
16285612Sdelphij	const void */*from*/,
17285612Sdelphij	void */*to*/);
18285612Sdelphij
19285612Sdelphijint
20285612Sdelphij_asn1_decode (
21285612Sdelphij	const struct asn1_template */*t*/,
22285612Sdelphij	unsigned /*flags*/,
23285612Sdelphij	const unsigned char */*p*/,
24285612Sdelphij	size_t /*len*/,
25285612Sdelphij	void */*data*/,
26285612Sdelphij	size_t */*size*/);
27285612Sdelphij
28285612Sdelphijint
29285612Sdelphij_asn1_decode_top (
30285612Sdelphij	const struct asn1_template */*t*/,
31285612Sdelphij	unsigned /*flags*/,
32285612Sdelphij	const unsigned char */*p*/,
33285612Sdelphij	size_t /*len*/,
34285612Sdelphij	void */*data*/,
35285612Sdelphij	size_t */*size*/);
36285612Sdelphij
37285612Sdelphijint
38285612Sdelphij_asn1_encode (
39285612Sdelphij	const struct asn1_template */*t*/,
40285612Sdelphij	unsigned char */*p*/,
41285612Sdelphij	size_t /*len*/,
42285612Sdelphij	const void */*data*/,
43285612Sdelphij	size_t */*size*/);
44285612Sdelphij
45285612Sdelphijvoid
46285612Sdelphij_asn1_free (
47285612Sdelphij	const struct asn1_template */*t*/,
48181834Sroberto	void */*data*/);
49285612Sdelphij
50285612Sdelphijsize_t
51285612Sdelphij_asn1_length (
52285612Sdelphij	const struct asn1_template */*t*/,
53181834Sroberto	const void */*data*/);
54181834Sroberto
55285612Sdelphijstruct tm *
56181834Sroberto_der_gmtime (
57181834Sroberto	time_t /*t*/,
58285612Sdelphij	struct tm */*tm*/);
59285612Sdelphij
60285612Sdelphijint
61285612Sdelphij_heim_der_set_sort (
62285612Sdelphij	const void */*a1*/,
63285612Sdelphij	const void */*a2*/);
64285612Sdelphij
65285612Sdelphijint
66285612Sdelphij_heim_fix_dce (
67285612Sdelphij	size_t /*reallen*/,
68181834Sroberto	size_t */*len*/);
69181834Sroberto
70181834Srobertosize_t
71285612Sdelphij_heim_len_int (int /*val*/);
72285612Sdelphij
73285612Sdelphijsize_t
74285612Sdelphij_heim_len_unsigned (unsigned /*val*/);
75285612Sdelphij
76181834Srobertoint
77285612Sdelphij_heim_time2generalizedtime (
78285612Sdelphij	time_t /*t*/,
79285612Sdelphij	heim_octet_string */*s*/,
80285612Sdelphij	int /*gtimep*/);
81285612Sdelphij
82285612Sdelphij#endif /* __der_private_h__ */
83181834Sroberto