summaryrefslogtreecommitdiff
path: root/lib/element.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-17 17:02:52 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-17 17:02:52 +0200
commitb4a645db1711e881d5159ee867dda36c6de5092c (patch)
tree5ec7b8a8e0f321c94b22fbba92e4225c70947fc4 /lib/element.c
parent6614baac6406574ef81e4d5ff638cf7823a1b8eb (diff)
downloadlibtasn1-b4a645db1711e881d5159ee867dda36c6de5092c.tar.gz
libtasn1-b4a645db1711e881d5159ee867dda36c6de5092c.tar.bz2
libtasn1-b4a645db1711e881d5159ee867dda36c6de5092c.zip
doc update
Diffstat (limited to 'lib/element.c')
-rw-r--r--lib/element.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/element.c b/lib/element.c
index 66bd8fa..27cc42e 100644
--- a/lib/element.c
+++ b/lib/element.c
@@ -128,7 +128,13 @@ _asn1_convert_integer (const unsigned char *value, unsigned char *value_out,
return ASN1_SUCCESS;
}
-
+/* Appends a new element into the sequent (or set) defined by this
+ * node. The new element will have a name of '?number', where number
+ * is a monotonically increased serial number.
+ *
+ * On success it returns in @ptail the added element (which is the
+ * tail in the list of added elements).
+ */
int
_asn1_append_sequence_set (asn1_node node, asn1_node *ptail)
{