diff options
author | Dariusz Michaluk <d.michaluk@samsung.com> | 2024-02-13 15:44:51 +0100 |
---|---|---|
committer | Dariusz Michaluk <d.michaluk@samsung.com> | 2024-02-14 10:46:44 +0100 |
commit | c28e9eeaa4dccef63b3b237ebe8a8b5abb23e335 (patch) | |
tree | 504a1953b56446487f4759d3a5f348bbeb925461 /lib/parser_aux.h | |
parent | 1778d37a3eec1209d7c9c064318f3ff8c5132490 (diff) | |
parent | 031996ef501f8c3d0532f7df1c38cf2e540a4f11 (diff) | |
download | libtasn1-accepted/tizen_unified.tar.gz libtasn1-accepted/tizen_unified.tar.bz2 libtasn1-accepted/tizen_unified.zip |
Upgrade to libtasn1 4.19.0HEADaccepted/tizen/unified/20240214.164006tizenaccepted/tizen_unified
Change-Id: I893fd2c90c487d6e13b0b10e25b2cafc408da180
Diffstat (limited to 'lib/parser_aux.h')
-rw-r--r-- | lib/parser_aux.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/parser_aux.h b/lib/parser_aux.h index c21d20d..3eac1fa 100644 --- a/lib/parser_aux.h +++ b/lib/parser_aux.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2014 Free Software Foundation, Inc. + * Copyright (C) 2000-2022 Free Software Foundation, Inc. * * This file is part of LIBTASN1. * @@ -20,7 +20,7 @@ */ #ifndef _PARSER_AUX_H -#define _PARSER_AUX_H +# define _PARSER_AUX_H /***********************************************/ /* Type: list_type */ @@ -36,12 +36,13 @@ typedef struct list_struct /***************************************/ /* Functions used by ASN.1 parser */ /***************************************/ -asn1_node _asn1_add_static_node (list_type **e_list, unsigned int type); +asn1_node _asn1_add_static_node (list_type ** e_list, unsigned int type); -void _asn1_delete_list (list_type *e_list); +void _asn1_delete_list (list_type * e_list); -void _asn1_delete_list_and_nodes (list_type *e_list); +void _asn1_delete_list_and_nodes (list_type * e_list); +void _asn1_delete_node_from_list (list_type * list, asn1_node node); asn1_node _asn1_set_value (asn1_node node, const void *value, unsigned int len); @@ -65,15 +66,15 @@ asn1_node _asn1_get_last_right (asn1_node_const node); void _asn1_remove_node (asn1_node node, unsigned int flags); /* Max 64-bit integer length is 20 chars + 1 for sign + 1 for null termination */ -#define LTOSTR_MAX_SIZE 22 +# define LTOSTR_MAX_SIZE 22 char *_asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE]); asn1_node _asn1_find_up (asn1_node_const node); int _asn1_change_integer_value (asn1_node node); -#define EXPAND_OBJECT_ID_MAX_RECURSION 16 -int _asn1_expand_object_id (list_type *list, asn1_node node); +# define EXPAND_OBJECT_ID_MAX_RECURSION 16 +int _asn1_expand_object_id (list_type ** list, asn1_node node); int _asn1_type_set_config (asn1_node node); |