summaryrefslogtreecommitdiff
path: root/lib/parser_aux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser_aux.h')
-rw-r--r--lib/parser_aux.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/parser_aux.h b/lib/parser_aux.h
index f1e9a07..ee01725 100644
--- a/lib/parser_aux.h
+++ b/lib/parser_aux.h
@@ -25,6 +25,14 @@
/***************************************/
/* Functions used by ASN.1 parser */
/***************************************/
+
+inline static char *
+_asn1_ltostr (long v, char *str)
+{
+ sprintf(str, "%ld", v);
+ return str;
+}
+
asn1_node _asn1_add_static_node (unsigned int type);
asn1_node