Mercurial > libpst
comparison src/libpst.h @ 328:c507af52515a
add readpst -a option
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 12 Jun 2013 19:45:44 -0700 |
parents | c4537664ff50 |
children | 09dd5299d91c |
comparison
equal
deleted
inserted
replaced
327:e1b9f9aa5074 | 328:c507af52515a |
---|---|
889 /** original cwd when the file was opened */ | 889 /** original cwd when the file was opened */ |
890 char* cwd; | 890 char* cwd; |
891 /** original file name when the file was opened */ | 891 /** original file name when the file was opened */ |
892 char* fname; | 892 char* fname; |
893 /** default character set for items without one */ | 893 /** default character set for items without one */ |
894 char* charset; | 894 const char* charset; |
895 /** the head and tail of the linked list of index structures */ | 895 /** the head and tail of the linked list of index structures */ |
896 pst_index_ll *i_head, *i_tail; | 896 pst_index_ll *i_head, *i_tail; |
897 /** the head and tail of the top level of the descriptor tree */ | 897 /** the head and tail of the top level of the descriptor tree */ |
898 pst_desc_tree *d_head, *d_tail; | 898 pst_desc_tree *d_head, *d_tail; |
899 /** the head of the extended attributes linked list */ | 899 /** the head of the extended attributes linked list */ |
1039 * @return Size of block read into memory | 1039 * @return Size of block read into memory |
1040 */ | 1040 */ |
1041 size_t pst_ff_getIDblock_dec(pst_file *pf, uint64_t i_id, char **buf); | 1041 size_t pst_ff_getIDblock_dec(pst_file *pf, uint64_t i_id, char **buf); |
1042 | 1042 |
1043 | 1043 |
1044 /** compare strings case-insensitive. | |
1045 * @return -1 if a < b, 0 if a==b, 1 if a > b | |
1046 */ | |
1047 int pst_stricmp(char *a, char *b); | |
1048 | |
1049 | |
1044 /** fwrite with checking for null pointer. | 1050 /** fwrite with checking for null pointer. |
1045 * @param ptr pointer to the buffer | 1051 * @param ptr pointer to the buffer |
1046 * @param size size of each item | 1052 * @param size size of each item |
1047 * @param nmemb number of items | 1053 * @param nmemb number of items |
1048 * @param stream output file | 1054 * @param stream output file |