summaryrefslogtreecommitdiff
path: root/pith/body.h
blob: c8955a92ad0e774381ae9d65a2947d03ae6ad651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 */