Lines Matching refs:service
25 static const char *GetName(Service *service);
26 static BOOL Initialize(Service *service, Identity identity);
27 static BOOL MessageHandle(Service *service, Request *msg);
28 static TaskConfig GetTaskConfig(Service *service);
37 static const char *GetName(Service *service)
40 if (service == &g_example[0]) {
44 if (service == &g_example[1]) {
48 if (service == &g_example[2]) {
52 if (service == &g_example[3]) {
58 static BOOL Initialize(Service *service, Identity identity)
62 (int)osThreadGetId(), g_initIndex++, service->GetName(service), SAMGR_GetProcessTime());
66 static BOOL MessageHandle(Service *service, Request *msg)
69 (int)osThreadGetId(), g_initIndex++, service->GetName(service), msg->msgId);
73 static TaskConfig GetTaskConfig(Service *service)
78 if (service == &g_example[0]) {
82 if (service == &g_example[3]) {