Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

lspst.c File Reference

#include "define.h"

Include dependency graph for lspst.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  file_ll

Functions

void canonicalize_filename (char *fname)
void debug_print (char *fmt,...)
void usage (char *prog_name)
void version ()
void create_enter_dir (struct file_ll *f, pst_item *item)
void close_enter_dir (struct file_ll *f)
void process (pst_item *outeritem, pst_desc_tree *d_ptr)
int main (int argc, char *const *argv)

Variables

pst_file pstfile


Function Documentation

void canonicalize_filename char *  fname  ) 
 

Definition at line 259 of file lspst.c.

References DEBUG_ENT, and DEBUG_RET.

void close_enter_dir struct file_ll f  ) 
 

Definition at line 40 of file lspst.c.

References file_ll::dname.

Referenced by process().

void create_enter_dir struct file_ll f,
pst_item item
 

Definition at line 29 of file lspst.c.

References file_ll::dname, pst_item::file_as, pst_item::folder, file_ll::item_count, pst_item_folder::item_count, pst_convert_utf8(), file_ll::skip_count, file_ll::stored_count, pst_string::str, file_ll::type, and pst_item::type.

Referenced by process().

Here is the call graph for this function:

void debug_print char *  fmt,
  ...
 

int main int  argc,
char *const *  argv
 

Definition at line 178 of file lspst.c.

References pst_desc_tree::child, pst_file::d_head, DEBUG_ENT, DEBUG_INIT, DEBUG_RET, DIE, pst_item::file_as, getopt(), pst_string::is_utf8, pst_item::message_store, optind, process(), pst_close(), pst_freeItem(), pst_getTopOfFolders(), pst_load_extended_attributes(), pst_load_index(), pst_open(), pst_parse_item(), pstfile, pst_string::str, usage(), and version().

Here is the call graph for this function:

void process pst_item outeritem,
pst_desc_tree d_ptr
 

write extra vcard or vcalendar categories from the extra keywords fields

Parameters:
f_output open file pointer
item pst item containing the keywords
Returns:
true if we write a categories line

Definition at line 46 of file lspst.c.

References pst_desc_tree::child, close_enter_dir(), create_enter_dir(), pst_desc_tree::d_id, DEBUG_ENT, DEBUG_INFO, DEBUG_RET, DEBUG_WARN, pst_desc_tree::desc, DIE, pst_index_ll::i_id, memset(), pst_desc_tree::next, pst_convert_utf8(), pst_freeItem(), pst_parse_item(), pst_rfc2426_escape(), pst_rfc2445_datetime_format(), pstfile, file_ll::skip_count, time_buffer, and pst_item::type.

Referenced by main().

Here is the call graph for this function:

void usage char *  prog_name  ) 
 

Definition at line 149 of file lspst.c.

References DEBUG_ENT, DEBUG_RET, prog_name, and version().

Here is the call graph for this function:

void version  ) 
 

Definition at line 161 of file lspst.c.

References DEBUG_ENT, DEBUG_RET, and VERSION.

Referenced by main(), and usage().


Variable Documentation

pst_file pstfile
 

Definition at line 26 of file lspst.c.


Generated on Wed Jul 7 16:16:35 2010 for 'LibPst' by  doxygen 1.3.9.1