sv_service_l.h File Reference
#include <gwenhywfar/types.h>
#include <gwenhywfar/process.h>
#include <gwenhywfar/misc.h>
#include <time.h>
#include <chipcard/chipcard.h>
Go to the source code of this file.
Typedefs |
typedef struct LCSV_SERVICE | LCSV_SERVICE |
Functions |
LCSV_SERVICE * | LCSV_Service_new () |
void | LCSV_Service_free (LCSV_SERVICE *sv) |
LCSV_SERVICE * | LCSV_Service_fromDb (GWEN_DB_NODE *db) |
void | LCSV_Service_toDb (const LCSV_SERVICE *sv, GWEN_DB_NODE *db) |
const char * | LCSV_Service_GetServiceType (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetServiceType (LCSV_SERVICE *sv, const char *s) |
const char * | LCSV_Service_GetServiceName (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetServiceName (LCSV_SERVICE *sv, const char *s) |
const char * | LCSV_Service_GetLogFile (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetLogFile (LCSV_SERVICE *sv, const char *s) |
const char * | LCSV_Service_GetDataDir (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetDataDir (LCSV_SERVICE *sv, const char *s) |
uint32_t | LCSV_Service_GetServiceId (const LCSV_SERVICE *sv) |
uint32_t | LCSV_Service_GetFlags (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetFlags (LCSV_SERVICE *sv, uint32_t fl) |
void | LCSV_Service_AddFlags (LCSV_SERVICE *sv, uint32_t fl) |
void | LCSV_Service_SubFlags (LCSV_SERVICE *sv, uint32_t fl) |
GWEN_PROCESS * | LCSV_Service_GetProcess (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetProcess (LCSV_SERVICE *sv, GWEN_PROCESS *p) |
LC_SERVICE_STATUS | LCSV_Service_GetStatus (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetStatus (LCSV_SERVICE *sv, LC_SERVICE_STATUS st) |
uint32_t | LCSV_Service_GetIpcId (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetIpcId (LCSV_SERVICE *sv, uint32_t id) |
uint32_t | LCSV_Service_GetInterestedClients (const LCSV_SERVICE *sv) |
void | LCSV_Service_IncInterestedClients (LCSV_SERVICE *sv) |
void | LCSV_Service_DecInterestedClients (LCSV_SERVICE *sv) |
uint32_t | LCSV_Service_GetActiveClients (const LCSV_SERVICE *sv) |
void | LCSV_Service_IncActiveClients (LCSV_SERVICE *sv) |
void | LCSV_Service_DecActiveClients (LCSV_SERVICE *sv) |
time_t | LCSV_Service_GetLastStatusChangeTime (const LCSV_SERVICE *sv) |
time_t | LCSV_Service_GetIdleSince (const LCSV_SERVICE *sv) |
uint32_t | LCSV_Service_GetCurrentRequestId (const LCSV_SERVICE *sv) |
void | LCSV_Service_SetCurrentRequestId (LCSV_SERVICE *sv, uint32_t rid) |
void | LCSV_Service_SetTimeout (LCSV_SERVICE *sv, int secs) |
int | LCSV_Service_CheckTimeout (const LCSV_SERVICE *sv) |
Typedef Documentation
Function Documentation
void LCSV_Service_toDb |
( |
const LCSV_SERVICE * |
sv, |
|
|
GWEN_DB_NODE * |
db | |
|
) |
| | |
const char* LCSV_Service_GetServiceType |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetServiceType |
( |
LCSV_SERVICE * |
sv, |
|
|
const char * |
s | |
|
) |
| | |
const char* LCSV_Service_GetServiceName |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetServiceName |
( |
LCSV_SERVICE * |
sv, |
|
|
const char * |
s | |
|
) |
| | |
const char* LCSV_Service_GetLogFile |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetLogFile |
( |
LCSV_SERVICE * |
sv, |
|
|
const char * |
s | |
|
) |
| | |
const char* LCSV_Service_GetDataDir |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetDataDir |
( |
LCSV_SERVICE * |
sv, |
|
|
const char * |
s | |
|
) |
| | |
uint32_t LCSV_Service_GetServiceId |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetFlags |
( |
LCSV_SERVICE * |
sv, |
|
|
uint32_t |
fl | |
|
) |
| | |
void LCSV_Service_AddFlags |
( |
LCSV_SERVICE * |
sv, |
|
|
uint32_t |
fl | |
|
) |
| | |
void LCSV_Service_SubFlags |
( |
LCSV_SERVICE * |
sv, |
|
|
uint32_t |
fl | |
|
) |
| | |
GWEN_PROCESS* LCSV_Service_GetProcess |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetProcess |
( |
LCSV_SERVICE * |
sv, |
|
|
GWEN_PROCESS * |
p | |
|
) |
| | |
void LCSV_Service_SetIpcId |
( |
LCSV_SERVICE * |
sv, |
|
|
uint32_t |
id | |
|
) |
| | |
uint32_t LCSV_Service_GetInterestedClients |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_IncInterestedClients |
( |
LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_DecInterestedClients |
( |
LCSV_SERVICE * |
sv |
) |
|
uint32_t LCSV_Service_GetActiveClients |
( |
const LCSV_SERVICE * |
sv |
) |
|
time_t LCSV_Service_GetLastStatusChangeTime |
( |
const LCSV_SERVICE * |
sv |
) |
|
time_t LCSV_Service_GetIdleSince |
( |
const LCSV_SERVICE * |
sv |
) |
|
uint32_t LCSV_Service_GetCurrentRequestId |
( |
const LCSV_SERVICE * |
sv |
) |
|
void LCSV_Service_SetCurrentRequestId |
( |
LCSV_SERVICE * |
sv, |
|
|
uint32_t |
rid | |
|
) |
| | |
void LCSV_Service_SetTimeout |
( |
LCSV_SERVICE * |
sv, |
|
|
int |
secs | |
|
) |
| | |