comparison src/libpst.h @ 39:2ad7ef0a3c4f stable-0-5-10

more valgrind fixes
author carl
date Mon, 20 Aug 2007 20:43:17 -0700
parents 6fe121a971c9
children 183ae993b9ad
comparison
equal deleted inserted replaced
38:f5c024aa1dc5 39:2ad7ef0a3c4f
446 char *extra; 446 char *extra;
447 }; 447 };
448 448
449 typedef struct _pst_num_array { 449 typedef struct _pst_num_array {
450 int32_t count_item; 450 int32_t count_item;
451 int32_t orig_count;
451 int32_t count_array; 452 int32_t count_array;
452 struct _pst_num_item ** items; 453 struct _pst_num_item ** items;
453 struct _pst_num_array *next; 454 struct _pst_num_array *next;
454 } pst_num_array; 455 } pst_num_array;
455 456
475 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); 476 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);
476 int32_t _pst_build_desc_ptr (pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, u_int32_t *high_id, u_int32_t start_id, u_int32_t end_val); 477 int32_t _pst_build_desc_ptr (pst_file *pf, int32_t offset, int32_t depth, int32_t linku1, u_int32_t *high_id, u_int32_t start_id, u_int32_t end_val);
477 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr); 478 pst_item* _pst_getItem(pst_file *pf, pst_desc_ll *d_ptr);
478 void * _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr); 479 void * _pst_parse_item (pst_file *pf, pst_desc_ll *d_ptr);
479 pst_num_array * _pst_parse_block(pst_file *pf, u_int32_t block_id, pst_index2_ll *i2_head); 480 pst_num_array * _pst_parse_block(pst_file *pf, u_int32_t block_id, pst_index2_ll *i2_head);
480 int32_t _pst_process(pst_num_array *list, pst_item *item); 481 int32_t _pst_process(pst_num_array *list, pst_item *item, pst_item_attach *attach);
481 int32_t _pst_free_list(pst_num_array *list); 482 int32_t _pst_free_list(pst_num_array *list);
482 void _pst_freeItem(pst_item *item); 483 void _pst_freeItem(pst_item *item);
483 int32_t _pst_free_id2(pst_index2_ll * head); 484 int32_t _pst_free_id2(pst_index2_ll * head);
484 int32_t _pst_free_id (pst_index_ll *head); 485 int32_t _pst_free_id (pst_index_ll *head);
485 int32_t _pst_free_desc (pst_desc_ll *head); 486 int32_t _pst_free_desc (pst_desc_ll *head);