comparison src/libpst.h @ 34:07177825c91b

fix signed/unsigned to allow very small pst files with only leaf nodes
author carl
date Thu, 12 Jul 2007 14:59:13 -0700
parents b88ceb81dba2
children b2f247463b83
comparison
equal deleted inserted replaced
33:12cac756bc05 34:07177825c91b
464 int32_t pst_attach_to_file_base64(pst_file *pf, pst_item_attach *attach, FILE* fp); 464 int32_t pst_attach_to_file_base64(pst_file *pf, pst_item_attach *attach, FILE* fp);
465 int32_t pst_load_index (pst_file *pf); 465 int32_t pst_load_index (pst_file *pf);
466 pst_desc_ll* pst_getNextDptr(pst_desc_ll* d); 466 pst_desc_ll* pst_getNextDptr(pst_desc_ll* d);
467 int32_t pst_load_extended_attributes(pst_file *pf); 467 int32_t pst_load_extended_attributes(pst_file *pf);
468 468
469 int32_t _pst_build_id_ptr(pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, int32_t start_val, int32_t end_val); 469 int32_t _pst_build_id_ptr(pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, u_int32_t start_val, u_int32_t end_val);
470 int32_t _pst_build_desc_ptr (pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, u_int32_t *high_id, int32_t start_id, int32_t end_val); 470 int32_t _pst_build_desc_ptr (pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, u_int32_t *high_id, int32_t start_id, int32_t end_val);
471 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr); 471 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr);
472 void * _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr); 472 void * _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr);
473 pst_num_array * _pst_parse_block(pst_file *pf, u_int32_t block_id, pst_index2_ll *i2_head); 473 pst_num_array * _pst_parse_block(pst_file *pf, u_int32_t block_id, pst_index2_ll *i2_head);
474 int32_t _pst_process(pst_num_array *list, pst_item *item); 474 int32_t _pst_process(pst_num_array *list, pst_item *item);