diff 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
line wrap: on
line diff
--- a/src/libpst.h	Fri May 17 14:32:26 2013 -0700
+++ b/src/libpst.h	Wed Jun 12 19:45:44 2013 -0700
@@ -891,7 +891,7 @@
     /** original file name when the file was opened */
     char*   fname;
     /** default character set for items without one */
-    char*   charset;
+    const char*   charset;
     /** the head and tail of the linked list of index structures */
     pst_index_ll *i_head, *i_tail;
     /** the head and tail of the top level of the descriptor tree */
@@ -1041,6 +1041,12 @@
 size_t          pst_ff_getIDblock_dec(pst_file *pf, uint64_t i_id, char **buf);
 
 
+/** compare strings case-insensitive.
+ *  @return  -1 if a < b, 0 if a==b, 1 if a > b
+ */
+int pst_stricmp(char *a, char *b);
+
+
 /** fwrite with checking for null pointer.
  * @param ptr pointer to the buffer
  * @param size  size of each item