comparison src/libpst.h @ 44:d4606d460daf

more fixes for 64 bit format
author carl
date Tue, 08 Jan 2008 16:19:26 -0800
parents f6db1f060a95
children b2a7f2e0926a
comparison
equal deleted inserted replaced
43:f6db1f060a95 44:d4606d460daf
59 #endif // BYTE_ORDER 59 #endif // BYTE_ORDER
60 60
61 61
62 #ifdef _MSC_VER 62 #ifdef _MSC_VER
63 #include "windows.h" 63 #include "windows.h"
64 #define int32_t int 64 #define int32_t int
65 #define uint32_t unsigned int 65 #define uint32_t unsigned int
66 #define int16_t short int 66 #define int16_t short int
67 #define uint16_t unsigned short int 67 #define uint16_t unsigned short int
68 #endif // _MSC_VER 68 #endif // _MSC_VER
69 69
70 #define PST_TYPE_NOTE 1 70 #define PST_TYPE_NOTE 1
71 #define PST_TYPE_APPOINTMENT 8 71 #define PST_TYPE_APPOINTMENT 8
503 int32_t pst_load_extended_attributes(pst_file *pf); 503 int32_t pst_load_extended_attributes(pst_file *pf);
504 504
505 int32_t _pst_build_id_ptr(pst_file *pf, off_t offset, int32_t depth, int64_t linku1, uint64_t start_val, uint64_t end_val); 505 int32_t _pst_build_id_ptr(pst_file *pf, off_t offset, int32_t depth, int64_t linku1, uint64_t start_val, uint64_t end_val);
506 int32_t _pst_build_desc_ptr (pst_file *pf, off_t offset, int32_t depth, int64_t linku1, uint64_t *high_id, uint64_t start_id, uint64_t end_val); 506 int32_t _pst_build_desc_ptr (pst_file *pf, off_t offset, int32_t depth, int64_t linku1, uint64_t *high_id, uint64_t start_id, uint64_t end_val);
507 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr); 507 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr);
508 void * _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr); 508 pst_item* _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr);
509 pst_num_array * _pst_parse_block(pst_file *pf, uint32_t block_id, pst_index2_ll *i2_head); 509 pst_num_array * _pst_parse_block(pst_file *pf, uint32_t block_id, pst_index2_ll *i2_head);
510 int32_t _pst_process(pst_num_array *list, pst_item *item, pst_item_attach *attach); 510 int32_t _pst_process(pst_num_array *list, pst_item *item, pst_item_attach *attach);
511 int32_t _pst_free_list(pst_num_array *list); 511 int32_t _pst_free_list(pst_num_array *list);
512 void _pst_freeItem(pst_item *item); 512 void _pst_freeItem(pst_item *item);
513 int32_t _pst_free_id2(pst_index2_ll * head); 513 int32_t _pst_free_id2(pst_index2_ll * head);