summaryrefslogtreecommitdiff
path: root/egg/egg-asn1x.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-09-20 02:02:21 +0000
committerStef Walter <stef@memberwebs.com>2010-09-20 02:02:21 +0000
commit72df6d30ed29ad0adebcd60845fdf11ca276315f (patch)
tree203367ad3df06f26e5b30eb841ad84e3b5dc959b /egg/egg-asn1x.h
parent390e1e37d332418d814282a8e26383312e920b19 (diff)
[egg] Add accessor functions for enumerated ASN.1 values.
Add getter and setter for ENUMERATED ASN.1 values, and DER encoder.
Diffstat (limited to 'egg/egg-asn1x.h')
-rw-r--r--egg/egg-asn1x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/egg/egg-asn1x.h b/egg/egg-asn1x.h
index 2bff2167..197826a6 100644
--- a/egg/egg-asn1x.h
+++ b/egg/egg-asn1x.h
@@ -81,6 +81,11 @@ gboolean egg_asn1x_get_boolean (GNode *node,
gboolean egg_asn1x_set_boolean (GNode *node,
gboolean value);
+GQuark egg_asn1x_get_enumerated (GNode *node);
+
+gboolean egg_asn1x_set_enumerated (GNode *node,
+ GQuark value);
+
gboolean egg_asn1x_get_integer_as_ulong (GNode *node,
gulong *value);