servicemanager_l.h File Reference
#include <gwenhywfar/types.h>
#include <gwenhywfar/process.h>
#include <gwenhywfar/misc.h>
#include "sv_service_l.h"
#include <time.h>
#include <chipcard/chipcard.h>
#include "server_l.h"
Go to the source code of this file.
Typedefs |
typedef struct LCSV_SERVICEMANAGER | LCSV_SERVICEMANAGER |
Functions |
LCSV_SERVICEMANAGER * | LCSV_ServiceManager_new (LCS_SERVER *server) |
void | LCSV_ServiceManager_free (LCSV_SERVICEMANAGER *svm) |
int | LCSV_ServiceManager_Init (LCSV_SERVICEMANAGER *svm, GWEN_DB_NODE *db) |
int | LCSV_ServiceManager_Fini (LCSV_SERVICEMANAGER *svm, GWEN_DB_NODE *db) |
int | LCSV_ServiceManager_Work (LCSV_SERVICEMANAGER *svm) |
int | LCSV_ServiceManager_ListServices (LCSV_SERVICEMANAGER *svm) |
int | LCSV_ServiceManager_HandleRequest (LCSV_SERVICEMANAGER *svm, uint32_t rid, const char *name, GWEN_DB_NODE *dbReq) |
void | LCSV_ServiceManager_ConnectionDown (LCSV_SERVICEMANAGER *svm, uint32_t ipcId) |
uint32_t | LCSV_ServiceManager_SendCommand (LCSV_SERVICEMANAGER *svm, uint32_t serviceId, GWEN_DB_NODE *dbCmd) |
int | LCSV_ServiceManager_GetMatchingServices (LCSV_SERVICEMANAGER *svm, const char *serviceType, const char *serviceName, GWEN_DB_NODE *dbData) |
Typedef Documentation
Function Documentation
int LCSV_ServiceManager_HandleRequest |
( |
LCSV_SERVICEMANAGER * |
svm, |
|
|
uint32_t |
rid, |
|
|
const char * |
name, |
|
|
GWEN_DB_NODE * |
dbReq | |
|
) |
| | |
uint32_t LCSV_ServiceManager_SendCommand |
( |
LCSV_SERVICEMANAGER * |
svm, |
|
|
uint32_t |
serviceId, |
|
|
GWEN_DB_NODE * |
dbCmd | |
|
) |
| | |
int LCSV_ServiceManager_GetMatchingServices |
( |
LCSV_SERVICEMANAGER * |
svm, |
|
|
const char * |
serviceType, |
|
|
const char * |
serviceName, |
|
|
GWEN_DB_NODE * |
dbData | |
|
) |
| | |
For every matching service a GWEN_DB_NODE is added to the given node describing the service. This function is to be used by the ClientManager to let a client choose a service.