Blame lib/minitasn1/element.h

Packit aea12f
/*
Packit aea12f
 * Copyright (C) 2000-2014 Free Software Foundation, Inc.
Packit aea12f
 *
Packit aea12f
 * This file is part of LIBTASN1.
Packit aea12f
 *
Packit aea12f
 * The LIBTASN1 library is free software; you can redistribute it
Packit aea12f
 * and/or modify it under the terms of the GNU Lesser General Public
Packit aea12f
 * License as published by the Free Software Foundation; either
Packit aea12f
 * version 2.1 of the License, or (at your option) any later version.
Packit aea12f
 *
Packit aea12f
 * This library is distributed in the hope that it will be useful, but
Packit aea12f
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit aea12f
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit aea12f
 * Lesser General Public License for more details.
Packit aea12f
 *
Packit aea12f
 * You should have received a copy of the GNU Lesser General Public
Packit aea12f
 * License along with this library; if not, write to the Free Software
Packit aea12f
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit aea12f
 * 02110-1301, USA
Packit aea12f
 */
Packit aea12f
Packit aea12f
#ifndef _ELEMENT_H
Packit aea12f
#define _ELEMENT_H
Packit aea12f
Packit aea12f
Packit aea12f
struct node_tail_cache_st
Packit aea12f
{
Packit aea12f
	asn1_node head; /* the first element of the sequence */
Packit aea12f
	asn1_node tail;
Packit aea12f
};
Packit aea12f
Packit aea12f
int _asn1_append_sequence_set (asn1_node node, struct node_tail_cache_st *pcached);
Packit aea12f
Packit aea12f
int _asn1_convert_integer (const unsigned char *value,
Packit aea12f
			   unsigned char *value_out,
Packit aea12f
			   int value_out_size, int *len);
Packit aea12f
Packit aea12f
void _asn1_hierarchical_name (asn1_node node, char *name, int name_size);
Packit aea12f
Packit aea12f
#endif