comparison src/libpst.h @ 130:e35fd42bac05

more cleanup of include files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 05 Feb 2009 13:38:46 -0800
parents 7f747c8c9d02
children 5e4d6faada34
comparison
equal deleted inserted replaced
129:fc11b1d1ad34 130:e35fd42bac05
7 // LibPST - Library for Accessing Outlook .pst files 7 // LibPST - Library for Accessing Outlook .pst files
8 // Dave Smith - davesmith@users.sourceforge.net 8 // Dave Smith - davesmith@users.sourceforge.net
9 9
10 #ifndef LIBPST_H 10 #ifndef LIBPST_H
11 #define LIBPST_H 11 #define LIBPST_H
12
13 #include <libpst/common.h>
14
15
16 // switch to maximal packing for all structures in the libpst interface
17 // this is reverted at the end of this file
18 #ifdef _MSC_VER
19 #pragma pack(push, 1)
20 #endif
21 #if defined(__GNUC__) || defined (__SUNPRO_C) || defined(__SUNPRO_CC)
22 #pragma pack(1)
23 #endif
12 24
13 25
14 #define PST_TYPE_NOTE 1 26 #define PST_TYPE_NOTE 1
15 #define PST_TYPE_APPOINTMENT 8 27 #define PST_TYPE_APPOINTMENT 8
16 #define PST_TYPE_CONTACT 9 28 #define PST_TYPE_CONTACT 9
563 575
564 void pst_printDptr(pst_file *pf, pst_desc_ll *ptr); 576 void pst_printDptr(pst_file *pf, pst_desc_ll *ptr);
565 void pst_printIDptr(pst_file* pf); 577 void pst_printIDptr(pst_file* pf);
566 void pst_printID2ptr(pst_index2_ll *ptr); 578 void pst_printID2ptr(pst_index2_ll *ptr);
567 579
580
581 // switch from maximal packing back to default packing
582 // undo the packing from the beginning of this file
583 #ifdef _MSC_VER
584 #pragma pack(pop)
585 #endif
586 #if defined(__GNUC__) || defined (__SUNPRO_C) || defined(__SUNPRO_CC)
587 #pragma pack()
588 #endif
589
590
591
568 #endif // defined LIBPST_H 592 #endif // defined LIBPST_H