Mercurial > libpst
comparison src/libpst.h @ 59:7d5c637aaafb
General cleanup and code fixes.
Use autoscan to cleanup our autoconf system.
Use autoconf to detect when we need to use our XGetopt files and other header files.
Decode BCC field.
Fix missing LE32_CPU byte swapping for FILETIME types.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 14 Feb 2008 14:55:32 -0800 |
parents | 034641c26ab9 |
children | cfd6175f9334 |
comparison
equal
deleted
inserted
replaced
58:a8b772313ff4 | 59:7d5c637aaafb |
---|---|
218 typedef struct pst_item_email { | 218 typedef struct pst_item_email { |
219 FILETIME *arrival_date; | 219 FILETIME *arrival_date; |
220 int autoforward; // 1 = true, 0 = not set, -1 = false | 220 int autoforward; // 1 = true, 0 = not set, -1 = false |
221 char *body; | 221 char *body; |
222 char *cc_address; | 222 char *cc_address; |
223 char *bcc_address; | |
223 char *common_name; | 224 char *common_name; |
224 int32_t conv_index; | 225 int32_t conv_index; |
225 int conversion_prohib; // 1 = true, 0 = false | 226 int conversion_prohib; // 1 = true, 0 = false |
226 int delete_after_submit; // 1 = true, 0 = false | 227 int delete_after_submit; // 1 = true, 0 = false |
227 int delivery_report; // 1 = true, 0 = false | 228 int delivery_report; // 1 = true, 0 = false |
561 pst_subblock *subs; | 562 pst_subblock *subs; |
562 } pst_subblocks; | 563 } pst_subblocks; |
563 | 564 |
564 | 565 |
565 // prototypes | 566 // prototypes |
566 int pst_open(pst_file *pf, char *name, char *mode); | 567 int pst_open(pst_file *pf, char *name); |
567 int pst_close(pst_file *pf); | 568 int pst_close(pst_file *pf); |
568 pst_desc_ll * pst_getTopOfFolders(pst_file *pf, pst_item *root); | 569 pst_desc_ll * pst_getTopOfFolders(pst_file *pf, pst_item *root); |
569 size_t pst_attach_to_mem(pst_file *pf, pst_item_attach *attach, char **b); | 570 size_t pst_attach_to_mem(pst_file *pf, pst_item_attach *attach, char **b); |
570 size_t pst_attach_to_file(pst_file *pf, pst_item_attach *attach, FILE* fp); | 571 size_t pst_attach_to_file(pst_file *pf, pst_item_attach *attach, FILE* fp); |
571 size_t pst_attach_to_file_base64(pst_file *pf, pst_item_attach *attach, FILE* fp); | 572 size_t pst_attach_to_file_base64(pst_file *pf, pst_item_attach *attach, FILE* fp); |