File: asn1p_param.h

package info (click to toggle)
asn1c 0.9.28%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,948 kB
  • sloc: ansic: 34,066; makefile: 7,820; sh: 2,089; yacc: 2,040; lex: 593; perl: 97; cpp: 13
file content (32 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Structures and prototypes related to parameterization
 */
#ifndef	ASN1_PARSER_PARAMETERIZATION_H
#define	ASN1_PARSER_PARAMETERIZATION_H

struct asn1p_expr_s;	/* Forward declaration */

typedef struct asn1p_paramlist_s {
	struct asn1p_param_s {
		/* Translated from */
		asn1p_ref_t	*governor;
		char		*argument;
	} *params;
	int params_count;
	int params_size;
	int _lineno;
} asn1p_paramlist_t;

/*
 * Constructor and destructor.
 */
asn1p_paramlist_t *asn1p_paramlist_new(int _lineno);
void asn1p_paramlist_free(asn1p_paramlist_t *);

asn1p_paramlist_t *asn1p_paramlist_clone(asn1p_paramlist_t *ref);

int asn1p_paramlist_add_param(asn1p_paramlist_t *,
		asn1p_ref_t *opt_gov, char *arg);


#endif	/* ASN1_PARSER_PARAMETERIZATION_H */