logconfig.h
Go to the documentation of this file.00001 /* 00002 ** logconfig.h 00003 ** Generic glib-based logging configuration support 00004 ** 00005 ** ------------------------------------------------------------------------ 00006 ** Copyright (C) 2005-2007 Carnegie Mellon University. All Rights Reserved. 00007 ** ------------------------------------------------------------------------ 00008 ** Authors: Brian Trammell <bht@cert.org> 00009 ** Tony Cebzanov <tonyc@cert.org> 00010 ** ------------------------------------------------------------------------ 00011 ** GNU Lesser GPL Rights pursuant to Version 2.1, February 1999 00012 ** Government Purpose License Rights (GPLR) pursuant to DFARS 252.225-7013 00013 ** ------------------------------------------------------------------------ 00014 */ 00015 00028 /* idem hack */ 00029 #ifndef _AIR_LOGCONFIG_H_ 00030 #define _AIR_LOGCONFIG_H_ 00031 00032 #include <airframe/autoinc.h> 00033 #include <airframe/airopt.h> 00034 00036 #define LOGC_ERROR_DOMAIN (g_quark_from_string("airframeLogError")) 00037 00041 #define LOGC_ERROR_ARGUMENT 1 00042 00055 gboolean logc_add_option_group( 00056 AirOptionCtx *aoctx, 00057 const char *appname, 00058 const char *version); 00059 00074 gboolean logc_setup( 00075 GError **err); 00076 00077 /* end idem */ 00078 #endif