summaryrefslogtreecommitdiffstats
path: root/lib/minitasn1/structure.h
blob: f06298f2ee235b3a37ac543783f66f9fdab3343c (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (C) 2002-2021 Free Software Foundation, Inc.
 *
 * This file is part of LIBTASN1.
 *
 * The LIBTASN1 library is free software; you can redistribute it
 * and/or modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA
 */

/*************************************************/
/* File: structure.h                             */
/* Description: list of exported object by       */
/*   "structure.c"                               */
/*************************************************/

#ifndef _STRUCTURE_H
#define _STRUCTURE_H

#include "parser_aux.h" // list_type

int _asn1_create_static_structure (asn1_node_const pointer,
				   char *output_file_name, char *vector_name);

asn1_node _asn1_copy_structure3 (asn1_node_const source_node);

asn1_node _asn1_add_single_node (unsigned int type);

asn1_node _asn1_find_left (asn1_node_const node);

int
_asn1_delete_structure (list_type *e_list, asn1_node *structure, unsigned int flags);

#endif