comparison src/readpst.c @ 186:0a4f7ecd7452

more cleanup of external names in the shared library
author Carl Byington <carl@five-ten-sg.com>
date Mon, 13 Apr 2009 19:14:30 -0700
parents b65e8d0a088a
children 4b498fd68464
comparison
equal deleted inserted replaced
185:e0392999e9b8 186:0a4f7ecd7452
24 int32_t item_count; 24 int32_t item_count;
25 int32_t skip_count; 25 int32_t skip_count;
26 int32_t type; 26 int32_t type;
27 }; 27 };
28 28
29 void process(pst_item *outeritem, pst_desc_ll *d_ptr); 29 void process(pst_item *outeritem, pst_desc_tree *d_ptr);
30 void write_email_body(FILE *f, char *body); 30 void write_email_body(FILE *f, char *body);
31 void removeCR(char *c); 31 void removeCR(char *c);
32 void usage(); 32 void usage();
33 void version(); 33 void version();
34 char* mk_kmail_dir(char* fname); 34 char* mk_kmail_dir(char* fname);
119 int save_rtf_body = 1; 119 int save_rtf_body = 1;
120 pst_file pstfile; 120 pst_file pstfile;
121 regex_t meta_charset_pattern; 121 regex_t meta_charset_pattern;
122 122
123 123
124 void process(pst_item *outeritem, pst_desc_ll *d_ptr) 124 void process(pst_item *outeritem, pst_desc_tree *d_ptr)
125 { 125 {
126 struct file_ll ff; 126 struct file_ll ff;
127 pst_item *item = NULL; 127 pst_item *item = NULL;
128 128
129 DEBUG_ENT("process"); 129 DEBUG_ENT("process");
251 251
252 252
253 253
254 int main(int argc, char* const* argv) { 254 int main(int argc, char* const* argv) {
255 pst_item *item = NULL; 255 pst_item *item = NULL;
256 pst_desc_ll *d_ptr; 256 pst_desc_tree *d_ptr;
257 char * fname = NULL; 257 char * fname = NULL;
258 char *d_log = NULL; 258 char *d_log = NULL;
259 int c,x; 259 int c,x;
260 char *temp = NULL; //temporary char pointer 260 char *temp = NULL; //temporary char pointer
261 prog_name = argv[0]; 261 prog_name = argv[0];
804 DEBUG_ENT("write_embedded_message"); 804 DEBUG_ENT("write_embedded_message");
805 fprintf(f_output, "\n--%s\n", boundary); 805 fprintf(f_output, "\n--%s\n", boundary);
806 fprintf(f_output, "Content-Type: %s\n\n", attach->mimetype.str); 806 fprintf(f_output, "Content-Type: %s\n\n", attach->mimetype.str);
807 ptr = pst_getID(pf, attach->i_id); 807 ptr = pst_getID(pf, attach->i_id);
808 808
809 pst_desc_ll d_ptr; 809 pst_desc_tree d_ptr;
810 d_ptr.d_id = 0; 810 d_ptr.d_id = 0;
811 d_ptr.parent_d_id = 0; 811 d_ptr.parent_d_id = 0;
812 d_ptr.assoc_tree = NULL; 812 d_ptr.assoc_tree = NULL;
813 d_ptr.desc = ptr; 813 d_ptr.desc = ptr;
814 d_ptr.no_child = 0; 814 d_ptr.no_child = 0;