aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/BIT_STRING.h
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-07-24 09:03:44 +0000
committerLev Walkin <vlm@lionet.info>2005-07-24 09:03:44 +0000
commit21b41ac140874eeef8f4282deb44572858a01e9a (patch)
tree9d4f071f0168e2c3adfc2067fc87f3859bfaf5a8 /skeletons/BIT_STRING.h
parent72a0f5a1faa1a5b613f1f979ebd1a89eb744afff (diff)
extern "C" used in skeletons
Diffstat (limited to 'skeletons/BIT_STRING.h')
-rw-r--r--skeletons/BIT_STRING.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/skeletons/BIT_STRING.h b/skeletons/BIT_STRING.h
index 1601231f..732e878b 100644
--- a/skeletons/BIT_STRING.h
+++ b/skeletons/BIT_STRING.h
@@ -7,6 +7,10 @@
#include <OCTET_STRING.h> /* Some help from OCTET STRING */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct BIT_STRING_s {
uint8_t *buf; /* BIT STRING body */
int size; /* Size of the above buffer */
@@ -22,4 +26,8 @@ asn_struct_print_f BIT_STRING_print; /* Human-readable output */
asn_constr_check_f BIT_STRING_constraint;
xer_type_encoder_f BIT_STRING_encode_xer;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BIT_STRING_H_ */