libocpf/ocpf_dump.h File Reference

Defines

#define INDENT()
#define OCPF_DUMP(x)   (ocpf_do_dump x)
#define OCPF_DUMP_SUBLEVEL   1
#define OCPF_DUMP_TITLE(indent, txt, type)
#define OCPF_DUMP_TOPLEVEL   0

Variables

int indent

Define Documentation

 
#define INDENT (  ) 
Value:
do {                                    \
        uint32_t        i;              \
                                        \
        for (i = 0; i < indent; i++) {  \
                printf("\t");           \
        }                               \
} while (0);

Referenced by ocpf_dump_folder(), ocpf_dump_named_property(), ocpf_dump_oleguid(), ocpf_dump_property(), ocpf_dump_recipients(), ocpf_dump_type(), and ocpf_dump_variable().

#define OCPF_DUMP (  )     (ocpf_do_dump x)

Referenced by ocpf_dump_folder(), and ocpf_dump_type().

#define OCPF_DUMP_SUBLEVEL   1
#define OCPF_DUMP_TITLE ( indent,
txt,
type   ) 
Value:
do {                                                    \
        int     odt_i;                                  \
        int     txt_len;                                \
                                                        \
        printf("\n");                                   \
        INDENT();                                       \
        printf("%s:\n", txt);                           \
                                                        \
        INDENT();                                       \
        txt_len = strlen(txt) + 1;                      \
        for (odt_i = 0; odt_i < txt_len; odt_i++) {     \
                printf("%c", type ? '-' : '=');         \
        }                                               \
        printf("\n");                                   \
} while (0);

Referenced by ocpf_dump_folder(), ocpf_dump_named_property(), ocpf_dump_oleguid(), ocpf_dump_property(), ocpf_dump_recipients(), ocpf_dump_type(), and ocpf_dump_variable().


Variable Documentation


Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/