fault_util.h File Reference

Macros

#define __BEGIN_DECLS
 
#define __END_DECLS
 
#define OC_ABORT(is_fatal, body)
 

Functions

void debug_print_backtrace (int dbg_level)
 
__BEGIN_DECLS void openchange_abort (bool is_fatal)
 

Macro Definition Documentation

#define __BEGIN_DECLS
#define __END_DECLS
#define OC_ABORT (   is_fatal,
  body 
)
Value:
DEBUGSEP(0); \
DEBUG(0,("OPENCHANGE INTERNAL ERROR: pid %d (%s)", (int)getpid(), OPENCHANGE_VERSION_STRING)); \
DEBUG(0, body); \
DEBUGSEP(0); \
__BEGIN_DECLS void openchange_abort(bool is_fatal)
Definition: fault_util.c:70

Referenced by emsmdbp_folder_open_table(), emsmdbp_object_create_folder(), emsmdbp_object_folder_commit_creation(), emsmdbp_object_open_folder(), and emsmdbp_object_table_get_row_props().

Function Documentation

void debug_print_backtrace ( int  dbg_level)

print a backtrace using DEBUG() macro.

Referenced by openchange_abort().

__BEGIN_DECLS void openchange_abort ( bool  is_fatal)

Handle Openchange calls. Depending on configuration and severity it may really abort() or just skip it

References debug_print_backtrace().


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/