00001 #ifndef __HI_EO_LOG_H__ 00002 #define __HI_EO_LOG_H__ 00003 00004 #include "hi_include.h" 00005 #include "hi_si.h" 00006 #include "hi_return_codes.h" 00007 00008 static INLINE int hi_eo_generate_event(HI_SESSION *Session, int iAlert) 00009 { 00010 if(iAlert && !Session->server_conf->no_alerts) 00011 { 00012 return HI_BOOL_TRUE; 00013 } 00014 00015 return HI_BOOL_FALSE; 00016 } 00017 00018 int hi_eo_client_event_log(HI_SESSION *Session, int iEvent, void *data, 00019 void (*free_data)(void *)); 00020 00021 int hi_eo_anom_server_event_log(HI_SESSION *Session, int iEvent, void *data, 00022 void (*free_data)(void *)); 00023 00024 #endif