ld_log_db.h

Go to the documentation of this file.
00001 #ifndef __ld_log_db_h__
00002 #define __ld_log_db_h__
00003 
00004 #include <glib.h>
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010   typedef struct _LogDb LogDb;
00011 
00012   LogDb* LogDb_new(GError** error);
00013   
00014   void LogDb_destroy(LogDb* self);
00015 
00016   gboolean  log_db_log_status_direct(LogDb * self,
00017            GError ** error,
00018            const char * text);
00019 
00020   gboolean  log_db_log_status (LogDb * self,
00021            GError ** error,
00022            const char * fmt,
00023            ...);
00024 
00025   gboolean  log_db_take_snapshot  (LogDb * self,
00026            gchar * pathname,
00027            gboolean * renamed,
00028            GError ** error);
00029 
00030 #ifdef __cplusplus
00031 } /* extern "C" */
00032 #endif
00033 
00034 #endif /* __ld_log_db_h__ */
00035 
00036 /**
00037 
00038 ld_log_db.h
00039 
00040 Copyright 2009 Helsinki Institute for Information Technology (HIIT)
00041 and the authors. All rights reserved.
00042 
00043 Authors: Tero Hasu <tero.hasu@hut.fi>
00044 
00045 Permission is hereby granted, free of charge, to any person
00046 obtaining a copy of this software and associated documentation files
00047 (the "Software"), to deal in the Software without restriction,
00048 including without limitation the rights to use, copy, modify, merge,
00049 publish, distribute, sublicense, and/or sell copies of the Software,
00050 and to permit persons to whom the Software is furnished to do so,
00051 subject to the following conditions:
00052 
00053 The above copyright notice and this permission notice shall be
00054 included in all copies or substantial portions of the Software.
00055 
00056 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00057 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00058 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00059 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
00060 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
00061 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00062 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00063 SOFTWARE.
00064 
00065  **/

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:54 2011 by Doxygen 1.6.1