#include <stdint.h>
#include <inttypes.h>
#include <sys/param.h>
Include dependency graph for libpst.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Value: x = ((((x) & 0xff00) >> 8) | \ (((x) & 0x00ff) << 8)); Definition at line 49 of file libpst.h. Referenced by lzfu_decompress(), pst_build_id2(), pst_decode_index(), pst_ff_compile_ID(), pst_getBlockOffset(), pst_load_extended_attributes(), pst_parse_block(), and pst_process(). |
|
Value: x = ((((x) & 0xff000000) >> 24) | \ (((x) & 0x00ff0000) >> 8 ) | \ (((x) & 0x0000ff00) << 8 ) | \ (((x) & 0x000000ff) << 24)); Definition at line 44 of file libpst.h. Referenced by lzfu_decompress(), pst_decode_assoc(), pst_decode_desc(), pst_decode_index(), pst_decode_table(), pst_decode_type3(), pst_ff_compile_ID(), pst_getIntAt(), pst_getIntAtPos(), pst_load_extended_attributes(), pst_open(), pst_parse_block(), and pst_process(). |
|
Value: x = ((((x) & UINT64_C(0xff00000000000000)) >> 56) | \ (((x) & UINT64_C(0x00ff000000000000)) >> 40) | \ (((x) & UINT64_C(0x0000ff0000000000)) >> 24) | \ (((x) & UINT64_C(0x000000ff00000000)) >> 8 ) | \ (((x) & UINT64_C(0x00000000ff000000)) << 8 ) | \ (((x) & UINT64_C(0x0000000000ff0000)) << 24) | \ (((x) & UINT64_C(0x000000000000ff00)) << 40) | \ (((x) & UINT64_C(0x00000000000000ff)) << 56)); Definition at line 35 of file libpst.h. Referenced by pst_decode_assoc(), pst_decode_desc(), pst_decode_index(), pst_decode_table(), pst_decode_type3(), pst_getIntAt(), and pst_getIntAtPos(). |
|
Definition at line 102 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 101 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 95 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 94 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 98 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 100 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 93 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 96 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 103 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 99 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 97 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 107 of file libpst.h. Referenced by pst_process(). |
|
Definition at line 109 of file libpst.h. Referenced by pst_process(). |
|
|
|
Definition at line 108 of file libpst.h. Referenced by pst_process(). |
|
Definition at line 110 of file libpst.h. Referenced by pst_process(). |
|
Definition at line 84 of file libpst.h. Referenced by pst_process(). |
|
Definition at line 76 of file libpst.h. Referenced by main(). |
|
|
|
|
|
Definition at line 89 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 87 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 90 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
Definition at line 88 of file libpst.h. Referenced by pst_process(), and write_appointment(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 61 of file libpst.h. Referenced by process(). |
|
|
|
Definition at line 68 of file libpst.h. Referenced by process(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by pst_decode_desc(). |
|
|
Referenced by pst_build_desc_ptr(), and pst_decode_desc(). |
|
Referenced by pst_process(). |
|
|
|
|
|
Referenced by pst_build_id_ptr(), and pst_decode_index(). |
|
|
Referenced by pst_decode_index(). |
|
|
|
|
Referenced by pst_parse_item(). |
|
|
|
Referenced by pst_parse_item(), and write_normal_email(). |
|
|
|
|
|
Referenced by pst_process(). |
|
Referenced by pst_process(). |
|
|
|
|
|
|
|
|
|
Referenced by pst_parse_block(). |
|
Referenced by pst_parse_block(). |
|
|
|
|
|
|
|
Definition at line 393 of file libpst.c. References pst_item_attach::data, DEBUG_ENT, DEBUG_RET, DEBUG_WARN, pst_item_attach::id_val, pst_ff_getID2data(), pst_fwrite(), pst_getID(), pst_index_ll, and pst_item_attach::size. Referenced by write_separate_attachment(). |
Here is the call graph for this function:
|
Definition at line 422 of file libpst.c. References base64_encode(), pst_item_attach::data, DEBUG_ENT, DEBUG_RET, DEBUG_WARN, pst_item_attach::id_val, pst_ff_getID2data(), pst_fwrite(), pst_getID(), pst_index_ll, and pst_item_attach::size. Referenced by write_inline_attachment(). |
Here is the call graph for this function:
|
Definition at line 371 of file libpst.c. References DEBUG_ENT, DEBUG_RET, DEBUG_WARN, pst_item_attach::id_val, pst_ff_getID2data(), pst_getID(), pst_index_ll, and pst_item_attach::size. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 3606 of file libpst.c. References DEBUG_ENT, DEBUG_HEXDUMPC, DEBUG_INDEX, DEBUG_RET, DEBUG_WARN, pst_file::do_read64, pst_index2_tree::id, pst_id2_assoc::id, pst_index_tree::id, pst_index2_tree::id2, pst_id2_assoc::id2, LE16_CPU, pst_index2_tree::next, pst_index_tree::offset, pst_decode_assoc(), pst_getID(), pst_index2_ll, pst_index_ll, pst_read_block_size(), pst_index_tree::size, pst_id2_assoc::table2, pst_index_tree::u1, WARN, and xmalloc(). Referenced by pst_load_extended_attributes(), and pst_parse_item(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 4613 of file libpst.c. Referenced by pst_rfc2426_escape(). |
|
Definition at line 229 of file libpst.c. References pst_file::d_head, DEBUG_ENT, DEBUG_RET, pst_file::fp, pst_file::i_head, pst_free_desc(), pst_free_id(), pst_free_xattrib(), WARN, and pst_file::x_head. Referenced by main(). |
Here is the call graph for this function:
|
Definition at line 4120 of file libpst.c. References comp_enc, comp_high1, comp_high2, DEBUG_ENT, DEBUG_RET, and WARN. Referenced by main(), pst_ff_compile_ID(), and pst_ff_getIDblock_dec(). |
|
Definition at line 4344 of file libpst.c. References pst_holder::base64, base64_encode(), base64_encode_multiple(), pst_holder::buf, DEBUG_EMAIL, DEBUG_ENT, DEBUG_HEXDUMPC, DEBUG_READ, DEBUG_RET, DEBUG_WARN, pst_file::encryption, pst_holder::fp, pst_table3_rec::id, LE16_CPU, LE32_CPU, pst_decode_type3(), pst_decrypt(), pst_ff_getIDblock(), pst_ff_getIDblock_dec(), and pst_fwrite(). Referenced by pst_ff_getID2data(). |
Here is the call graph for this function:
|
Definition at line 4294 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_ff_getID2data(), pst_getID2(), pst_index2_ll, and pst_index_ll. Referenced by pst_getBlockOffsetPointer(), and pst_parse_block(). |
Here is the call graph for this function:
|
Definition at line 4312 of file libpst.c. References pst_holder::base64, base64_encode(), pst_holder::buf, DEBUG_ENT, DEBUG_READ, DEBUG_RET, pst_holder::fp, pst_index_tree::id, pst_ff_compile_ID(), pst_ff_getIDblock_dec(), pst_fwrite(), and pst_index_ll. Referenced by pst_attach_to_file(), pst_attach_to_file_base64(), pst_attach_to_mem(), and pst_ff_getID2block(). |
Here is the call graph for this function:
|
Read a block of data from file into memory.
Definition at line 4276 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_index_tree::offset, pst_getID(), pst_index_ll, pst_read_block_size(), and pst_index_tree::size. Referenced by main(), pst_ff_compile_ID(), and pst_ff_getIDblock_dec(). |
Here is the call graph for this function:
|
Get an ID block from file using _pst_ff_getIDblock and decrypt if necessary.
Definition at line 4253 of file libpst.c. References DEBUG_ENT, DEBUG_HEXDUMPC, DEBUG_INDEX, DEBUG_RET, pst_file::encryption, pst_decrypt(), and pst_ff_getIDblock(). Referenced by main(), pst_ff_compile_ID(), pst_ff_getID2data(), and pst_parse_block(). |
Here is the call graph for this function:
|
Definition at line 3569 of file libpst.c. References pst_desc_tree::child, DEBUG_ENT, DEBUG_RET, DIE, pst_desc_tree::next, pst_desc_tree::parent, and pst_desc_ll. Referenced by pst_close(). |
|
Definition at line 3557 of file libpst.c. References DEBUG_ENT, DEBUG_RET, pst_index_tree::next, and pst_index_ll. Referenced by pst_close(). |
|
Definition at line 3545 of file libpst.c. References DEBUG_ENT, DEBUG_RET, pst_index2_tree::next, and pst_index2_ll. Referenced by pst_load_extended_attributes(), and pst_parse_item(). |
|
Definition at line 3523 of file libpst.c. References pst_num_item::data, DEBUG_ENT, DEBUG_RET, pst_num_array::items, pst_num_array::next, and pst_num_array::orig_count. Referenced by pst_load_extended_attributes(), pst_parse_block(), and pst_parse_item(). |
|
Definition at line 3593 of file libpst.c. References pst_x_attrib_ll::data, DEBUG_ENT, DEBUG_RET, and pst_x_attrib_ll::next. Referenced by pst_close(). |
|
|
Definition at line 4523 of file libpst.c. References DEBUG_ENT, DEBUG_RET, and DEBUG_WARN. Referenced by main(), pst_attach_to_file(), pst_attach_to_file_base64(), pst_ff_compile_ID(), pst_ff_getID2data(), write_email_body(), write_inline_attachment(), and write_separate_attachment(). |
|
Read part of the pst file.
Definition at line 4209 of file libpst.c. References DEBUG_ENT, DEBUG_RET, and pst_file::fp. Referenced by pst_getIntAtPos(), pst_open(), and pst_read_block_size(). |
|
Definition at line 3954 of file libpst.c. References DEBUG_ENT, DEBUG_RET, DEBUG_WARN, pst_block_offset::from, LE16_CPU, and pst_block_offset::to. Referenced by pst_getBlockOffsetPointer(). |
|
The offset might be zero, in which case we have no data, so return a pair of null pointers. Or, the offset might end in 0xf, so it is an id2 pointer, in which case we read the id2 block. Otherwise, the high order 16 bits of offset is the index into the subblocks, and the (low order 16 bits of offset)>>4 is an index into the table of offsets in the subblock. Definition at line 3907 of file libpst.c. References pst_subblock::buf, DEBUG_ENT, DEBUG_RET, DEBUG_WARN, pst_block_offset::from, pst_block_offset_pointer::from, pst_subblock::i_offset, pst_block_offset_pointer::needfree, pst_ff_getID2block(), pst_getBlockOffset(), pst_index2_ll, pst_subblock::read_size, pst_subblocks::subblock_count, pst_subblocks::subs, pst_block_offset::to, and pst_block_offset_pointer::to. Referenced by pst_parse_block(). |
Here is the call graph for this function:
|
find the id in the descriptor tree rooted at pf->d_head
Definition at line 4028 of file libpst.c. References pst_desc_tree::child, pst_file::d_head, DEBUG_ENT, DEBUG_RET, pst_desc_tree::id, pst_desc_tree::next, pst_desc_tree::parent, and pst_desc_ll. Referenced by pst_getTopOfFolders(), pst_load_extended_attributes(), and record_descriptor(). |
|
Definition at line 3978 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_file::i_head, pst_index_tree::id, pst_index_tree::next, and pst_index_ll. Referenced by main(), pst_attach_to_file(), pst_attach_to_file_base64(), pst_attach_to_mem(), pst_build_desc_ptr(), pst_build_id2(), and pst_ff_getIDblock(). |
|
Definition at line 4002 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_index_tree::id, pst_index2_tree::id, pst_index2_tree::id2, pst_index2_tree::next, pst_index2_ll, and pst_index_ll. Referenced by pst_ff_getID2block(), and pst_parse_item(). |
|
Definition at line 4168 of file libpst.c. References pst_file::do_read64, LE32_CPU, and LE64_CPU. Referenced by pst_build_desc_ptr(), and pst_build_id_ptr(). |
|
Definition at line 4184 of file libpst.c. References pst_file::do_read64, LE32_CPU, LE64_CPU, and pst_getAtPos(). Referenced by pst_open(). |
Here is the call graph for this function:
|
|
|
Definition at line 481 of file libpst.c. References pst_desc_tree::child, DEBUG_ENT, DEBUG_RET, pst_desc_tree::next, pst_desc_tree::parent, and pst_desc_ll. Referenced by main(). |
|
Definition at line 339 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_desc_tree::desc, pst_desc_tree::id, pst_entryid_struct::id, pst_desc_tree::list_index, pst_item::message_store, pst_desc_tree::parent_id, pst_desc_ll, pst_getDptr(), record_descriptor(), pst_item_message_store::top_of_personal_folder, and xmalloc(). Referenced by main(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 460 of file libpst.c. References pst_file::d_head, DEBUG_CODE, DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_file::index1, pst_file::index1_back, pst_file::index2, pst_file::index2_back, pst_build_desc_ptr(), pst_build_id_ptr(), pst_printDptr(), and WARN. Referenced by main(). |
Here is the call graph for this function:
|
Definition at line 158 of file libpst.c. References DEBUG_ENT, DEBUG_INFO, DEBUG_RET, ENC_TYPE, FILE_SIZE_POINTER, INDEX_BACK, INDEX_POINTER, INDEX_TYPE32, INDEX_TYPE64, INDEX_TYPE_OFFSET, LE32_CPU, pst_getAtPos(), pst_getIntAtPos(), SECOND_BACK, SECOND_POINTER, unicode_init(), and WARN. Referenced by main(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 4047 of file libpst.c. References pst_desc_tree::child, DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_desc_tree::desc, pst_index_tree::id, pst_desc_tree::id, pst_desc_tree::list_index, pst_desc_tree::next, pst_desc_tree::no_child, and pst_desc_ll. Referenced by pst_load_index(). |
|
Definition at line 4073 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_index_tree::id, pst_index2_tree::id, pst_index2_tree::id2, pst_index2_tree::next, and pst_index2_ll. Referenced by pst_load_extended_attributes(), and pst_parse_item(). |
|
Definition at line 4062 of file libpst.c. References DEBUG_ENT, DEBUG_INDEX, DEBUG_RET, pst_file::i_head, pst_index_tree::id, pst_index_tree::next, pst_index_tree::offset, pst_index_ll, and pst_index_tree::size. |
|
Here is the call graph for this function:
|
Read a block of data from file into memory.
Definition at line 4092 of file libpst.c. References DEBUG_ENT, DEBUG_READ, DEBUG_RET, DEBUG_WARN, pst_file::fp, pst_getAtPos(), and xmalloc(). Referenced by pst_build_desc_ptr(), pst_build_id2(), pst_build_id_ptr(), and pst_ff_getIDblock(). |
Here is the call graph for this function:
|
Definition at line 4623 of file libpst.c. References DEBUG_ENT, DEBUG_INFO, DEBUG_RET, and fileTimeToStructTM(). Referenced by write_vcard(). |
Here is the call graph for this function:
|
Definition at line 4555 of file libpst.c. References DEBUG_ENT, DEBUG_RET, and pst_chr_count(). Referenced by process(), write_appointment(), and write_vcard(). |
Here is the call graph for this function:
|
Definition at line 4636 of file libpst.c. References DEBUG_ENT, DEBUG_INFO, DEBUG_RET, and fileTimeToStructTM(). Referenced by process(), and write_appointment(). |
Here is the call graph for this function:
|
Definition at line 4491 of file libpst.c. Referenced by pst_process(). |
|
Definition at line 4506 of file libpst.c. Referenced by pst_process(), and write_normal_email(). |
|
Definition at line 4537 of file libpst.c. References DEBUG_ENT, DEBUG_RET, and xmalloc(). Referenced by pst_load_extended_attributes(). |
Here is the call graph for this function: