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_ll *d_ptr)
int main (int argc, char *const *argv)

Variables

pst_file pstfile


Function Documentation

void canonicalize_filename char *  fname  ) 
 

Definition at line 256 of file lspst.c.

References DEBUG_ENT, and DEBUG_RET.

void close_enter_dir struct file_ll f  ) 
 

Definition at line 41 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, pst_item::type, and xmalloc().

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 171 of file lspst.c.

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

Here is the call graph for this function:

void process pst_item outeritem,
pst_desc_ll d_ptr
 

Definition at line 47 of file lspst.c.

References pst_desc_tree::child, close_enter_dir(), create_enter_dir(), pst_desc_tree::d_id, DEBUG_ENT, DEBUG_MAIN, DEBUG_RET, DEBUG_WARN, pst_desc_tree::desc, DIE, pst_index_tree::i_id, pst_desc_tree::next, pst_convert_utf8(), pst_desc_ll, pst_freeItem(), pst_parse_item(), pst_rfc2426_escape(), pst_rfc2445_datetime_format(), PST_TYPE_NOTE, pstfile, and file_ll::skip_count.

Referenced by main().

Here is the call graph for this function:

void usage char *  prog_name  ) 
 

Definition at line 142 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 154 of file lspst.c.

References DEBUG_ENT, DEBUG_RET, and VERSION.

Referenced by main(), pst_debug_init(), and usage().


Variable Documentation

pst_file pstfile
 

Definition at line 26 of file lspst.c.


Generated on Thu Mar 19 16:39:44 2009 for 'LibPst' by  doxygen 1.3.9.1