summaryrefslogtreecommitdiff
path: root/pith/body.h
diff options
context:
space:
mode:
Diffstat (limited to 'pith/body.h')
-rw-r--r--pith/body.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/pith/body.h b/pith/body.h
new file mode 100644
index 00000000..c8955a92
--- /dev/null
+++ b/pith/body.h
@@ -0,0 +1,23 @@
+#ifndef PITH_BODY_SPARE_INCLUDED
+#define PITH_BODY_SPARE_INCLUDED
+typedef enum
+ {CharType,
+ SizedText,
+#ifdef SMIME
+ P7Type,
+#endif
+ iCalType
+} SpareType;
+
+typedef struct body_sparep_t {
+ SpareType sptype;
+ void *data;
+} BODY_SPARE_S;
+
+void *create_body_sparep(SpareType, void *);
+void free_body_sparep(void **);
+void *get_body_sparep_data(void *);
+SpareType get_body_sparep_type(void *);
+
+
+#endif /* PITH_BODY_SPARE_INCLUDED */