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

libpst.h File Reference

#include "common.h"

Include dependency graph for libpst.h:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  pst_misc_6
struct  pst_entryid
struct  pst_desc32
struct  pst_desc
struct  pst_index32
struct  pst_index
struct  pst_index_ll
struct  pst_id2_tree
struct  pst_desc_tree
struct  pst_string
struct  pst_binary
struct  pst_item_email
 This struct defines an email message. More...
struct  pst_item_folder
struct  pst_item_message_store
struct  pst_item_contact
 This struct defines a contact. More...
struct  pst_item_attach
struct  pst_item_extra_field
struct  pst_item_journal
 This struct defines a journal entry. More...
struct  pst_item_appointment
 This struct defines an appointment. More...
struct  pst_item
struct  pst_x_attrib_ll
struct  pst_block_recorder
struct  pst_file
struct  pst_block_offset
struct  pst_block_offset_pointer
struct  pst_mapi_element
struct  pst_mapi_object
struct  pst_holder
struct  pst_subblock
struct  pst_subblocks

Defines

#define PST_TYPE_NOTE   1
#define PST_TYPE_APPOINTMENT   8
#define PST_TYPE_CONTACT   9
#define PST_TYPE_JOURNAL   10
#define PST_TYPE_STICKYNOTE   11
#define PST_TYPE_TASK   12
#define PST_TYPE_OTHER   13
#define PST_TYPE_REPORT   14
#define PST_NO_ENCRYPT   0
#define PST_COMP_ENCRYPT   1
#define PST_ENCRYPT   2
#define PST_MAP_ATTRIB   (uint32_t)1
#define PST_MAP_HEADER   (uint32_t)2
#define PST_ATTRIB_HEADER   -1
#define PST_FREEBUSY_FREE   0
#define PST_FREEBUSY_TENTATIVE   1
#define PST_FREEBUSY_BUSY   2
#define PST_FREEBUSY_OUT_OF_OFFICE   3
#define PST_APP_LABEL_NONE   0
#define PST_APP_LABEL_IMPORTANT   1
#define PST_APP_LABEL_BUSINESS   2
#define PST_APP_LABEL_PERSONAL   3
#define PST_APP_LABEL_VACATION   4
#define PST_APP_LABEL_MUST_ATTEND   5
#define PST_APP_LABEL_TRAVEL_REQ   6
#define PST_APP_LABEL_NEEDS_PREP   7
#define PST_APP_LABEL_BIRTHDAY   8
#define PST_APP_LABEL_ANNIVERSARY   9
#define PST_APP_LABEL_PHONE_CALL   10
#define PST_APP_RECUR_NONE   0
#define PST_APP_RECUR_DAILY   1
#define PST_APP_RECUR_WEEKLY   2
#define PST_APP_RECUR_MONTHLY   3
#define PST_APP_RECUR_YEARLY   4

Typedefs

typedef pst_misc_6 pst_misc_6
typedef pst_entryid pst_entryid
typedef pst_desc32 pst_desc32
typedef pst_desc pst_desc
typedef pst_index32 pst_index32
typedef pst_index pst_index
typedef pst_index_ll pst_index_ll
typedef pst_id2_tree pst_id2_tree
typedef pst_desc_tree pst_desc_tree
typedef pst_string pst_string
typedef pst_binary pst_binary
typedef pst_item_email pst_item_email
 This struct defines an email message.
typedef pst_item_folder pst_item_folder
typedef pst_item_message_store pst_item_message_store
typedef pst_item_contact pst_item_contact
 This struct defines a contact.
typedef pst_item_attach pst_item_attach
typedef pst_item_extra_field pst_item_extra_field
typedef pst_item_journal pst_item_journal
 This struct defines a journal entry.
typedef pst_item_appointment pst_item_appointment
 This struct defines an appointment.
typedef pst_item pst_item
typedef pst_x_attrib_ll pst_x_attrib_ll
typedef pst_block_recorder pst_block_recorder
typedef pst_file pst_file
typedef pst_block_offset pst_block_offset
typedef pst_block_offset_pointer pst_block_offset_pointer
typedef pst_mapi_element pst_mapi_element
typedef pst_mapi_object pst_mapi_object
typedef pst_holder pst_holder
typedef pst_subblock pst_subblock
typedef pst_subblocks pst_subblocks

Functions

int pst_open (pst_file *pf, char *name)
int pst_close (pst_file *pf)
pst_desc_treepst_getTopOfFolders (pst_file *pf, pst_item *root)
size_t pst_attach_to_file (pst_file *pf, pst_item_attach *attach, FILE *fp)
size_t pst_attach_to_file_base64 (pst_file *pf, pst_item_attach *attach, FILE *fp)
int pst_load_index (pst_file *pf)
pst_desc_treepst_getNextDptr (pst_desc_tree *d)
int pst_load_extended_attributes (pst_file *pf)
pst_itempst_getItem (pst_file *pf, pst_desc_tree *d_ptr)
pst_itempst_parse_item (pst_file *pf, pst_desc_tree *d_ptr, pst_id2_tree *m_head)
void pst_freeItem (pst_item *item)
pst_index_llpst_getID (pst_file *pf, uint64_t i_id)
int pst_decrypt (uint64_t id, char *buf, size_t size, unsigned char type)
size_t pst_ff_getIDblock_dec (pst_file *pf, uint64_t id, char **b)
size_t pst_ff_getIDblock (pst_file *pf, uint64_t id, char **b)
size_t pst_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream)
char * pst_rfc2426_escape (char *str)
char * pst_rfc2425_datetime_format (FILETIME *ft)
char * pst_rfc2445_datetime_format (FILETIME *ft)
const char * pst_codepage (int cp)
const char * pst_default_charset (pst_item *item)
void pst_convert_utf8_null (pst_item *item, pst_string *str)
void pst_convert_utf8 (pst_item *item, pst_string *str)


Define Documentation

#define PST_APP_LABEL_ANNIVERSARY   9
 

Definition at line 63 of file libpst.h.

#define PST_APP_LABEL_BIRTHDAY   8
 

Definition at line 62 of file libpst.h.

#define PST_APP_LABEL_BUSINESS   2
 

Definition at line 56 of file libpst.h.

#define PST_APP_LABEL_IMPORTANT   1
 

Definition at line 55 of file libpst.h.

#define PST_APP_LABEL_MUST_ATTEND   5
 

Definition at line 59 of file libpst.h.

#define PST_APP_LABEL_NEEDS_PREP   7
 

Definition at line 61 of file libpst.h.

#define PST_APP_LABEL_NONE   0
 

Definition at line 54 of file libpst.h.

#define PST_APP_LABEL_PERSONAL   3
 

Definition at line 57 of file libpst.h.

#define PST_APP_LABEL_PHONE_CALL   10
 

Definition at line 64 of file libpst.h.

#define PST_APP_LABEL_TRAVEL_REQ   6
 

Definition at line 60 of file libpst.h.

#define PST_APP_LABEL_VACATION   4
 

Definition at line 58 of file libpst.h.

#define PST_APP_RECUR_DAILY   1
 

Definition at line 68 of file libpst.h.

#define PST_APP_RECUR_MONTHLY   3
 

Definition at line 70 of file libpst.h.

#define PST_APP_RECUR_NONE   0
 

Definition at line 67 of file libpst.h.

#define PST_APP_RECUR_WEEKLY   2
 

Definition at line 69 of file libpst.h.

#define PST_APP_RECUR_YEARLY   4
 

Definition at line 71 of file libpst.h.

#define PST_ATTRIB_HEADER   -1
 

Definition at line 45 of file libpst.h.

#define PST_COMP_ENCRYPT   1
 

Definition at line 37 of file libpst.h.

#define PST_ENCRYPT   2
 

Definition at line 38 of file libpst.h.

#define PST_FREEBUSY_BUSY   2
 

Definition at line 50 of file libpst.h.

#define PST_FREEBUSY_FREE   0
 

Definition at line 48 of file libpst.h.

#define PST_FREEBUSY_OUT_OF_OFFICE   3
 

Definition at line 51 of file libpst.h.

#define PST_FREEBUSY_TENTATIVE   1
 

Definition at line 49 of file libpst.h.

#define PST_MAP_ATTRIB   (uint32_t)1
 

Definition at line 41 of file libpst.h.

#define PST_MAP_HEADER   (uint32_t)2
 

Definition at line 42 of file libpst.h.

#define PST_NO_ENCRYPT   0
 

Definition at line 36 of file libpst.h.

#define PST_TYPE_APPOINTMENT   8
 

Definition at line 27 of file libpst.h.

#define PST_TYPE_CONTACT   9
 

Definition at line 28 of file libpst.h.

#define PST_TYPE_JOURNAL   10
 

Definition at line 29 of file libpst.h.

#define PST_TYPE_NOTE   1
 

Definition at line 26 of file libpst.h.

#define PST_TYPE_OTHER   13
 

Definition at line 32 of file libpst.h.

#define PST_TYPE_REPORT   14
 

Definition at line 33 of file libpst.h.

#define PST_TYPE_STICKYNOTE   11
 

Definition at line 30 of file libpst.h.

#define PST_TYPE_TASK   12
 

Definition at line 31 of file libpst.h.


Typedef Documentation

typedef struct pst_binary pst_binary
 

typedef struct pst_block_offset pst_block_offset
 

typedef struct pst_block_offset_pointer pst_block_offset_pointer
 

typedef struct pst_block_recorder pst_block_recorder
 

typedef struct pst_desc pst_desc
 

typedef struct pst_desc32 pst_desc32
 

typedef struct pst_desc_tree pst_desc_tree
 

typedef struct pst_entryid pst_entryid
 

typedef struct pst_file pst_file
 

typedef struct pst_holder pst_holder
 

typedef struct pst_id2_tree pst_id2_tree
 

typedef struct pst_index pst_index
 

typedef struct pst_index32 pst_index32
 

typedef struct pst_index_ll pst_index_ll
 

typedef struct pst_item pst_item
 

typedef struct pst_item_appointment pst_item_appointment
 

This struct defines an appointment.

typedef struct pst_item_attach pst_item_attach
 

typedef struct pst_item_contact pst_item_contact
 

This struct defines a contact.

typedef struct pst_item_email pst_item_email
 

This struct defines an email message.

typedef struct pst_item_extra_field pst_item_extra_field
 

typedef struct pst_item_folder pst_item_folder
 

typedef struct pst_item_journal pst_item_journal
 

This struct defines a journal entry.

typedef struct pst_item_message_store pst_item_message_store
 

typedef struct pst_mapi_element pst_mapi_element
 

typedef struct pst_mapi_object pst_mapi_object
 

typedef struct pst_misc_6 pst_misc_6
 

typedef struct pst_string pst_string
 

typedef struct pst_subblock pst_subblock
 

typedef struct pst_subblocks pst_subblocks
 

typedef struct pst_x_attrib_ll pst_x_attrib_ll
 


Function Documentation

size_t pst_attach_to_file pst_file pf,
pst_item_attach attach,
FILE *  fp
 

size_t pst_attach_to_file_base64 pst_file pf,
pst_item_attach attach,
FILE *  fp
 

int pst_close pst_file pf  ) 
 

const char* pst_codepage int  cp  ) 
 

void pst_convert_utf8 pst_item item,
pst_string str
 

void pst_convert_utf8_null pst_item item,
pst_string str
 

int pst_decrypt uint64_t  id,
char *  buf,
size_t  size,
unsigned char  type
 

const char* pst_default_charset pst_item item  ) 
 

size_t pst_ff_getIDblock pst_file pf,
uint64_t  id,
char **  b
 

size_t pst_ff_getIDblock_dec pst_file pf,
uint64_t  id,
char **  b
 

void pst_freeItem pst_item item  ) 
 

size_t pst_fwrite const void *  ptr,
size_t  size,
size_t  nmemb,
FILE *  stream
 

pst_index_ll* pst_getID pst_file pf,
uint64_t  i_id
 

pst_item* pst_getItem pst_file pf,
pst_desc_tree d_ptr
 

pst_desc_tree* pst_getNextDptr pst_desc_tree d  ) 
 

pst_desc_tree* pst_getTopOfFolders pst_file pf,
pst_item root
 

int pst_load_extended_attributes pst_file pf  ) 
 

int pst_load_index pst_file pf  ) 
 

int pst_open pst_file pf,
char *  name
 

pst_item* pst_parse_item pst_file pf,
pst_desc_tree d_ptr,
pst_id2_tree m_head
 

char* pst_rfc2425_datetime_format FILETIME ft  ) 
 

char* pst_rfc2426_escape char *  str  ) 
 

char* pst_rfc2445_datetime_format FILETIME ft  ) 
 


Generated on Tue Apr 14 08:01:08 2009 for 'libpst' by  doxygen 1.3.9.1