Lines Matching defs:service
18 #include "service.h"
25 static const char *GetName(Service *service);
26 static BOOL Initialize(Service *service, Identity identity);
27 static TaskConfig GetTaskConfig(Service *service);
28 static BOOL MessageHandle(Service *service, Request *request);
53 static const char *GetName(Service *service)
55 (void)service;
59 static BOOL Initialize(Service *service, Identity identity)
63 if (service == NULL) {
66 hiviewService = (HiviewService *)service;
68 /* The communication of task can be use after the service is running. */
75 static BOOL MessageHandle(Service *service, Request *request)
77 (void)service;
88 static TaskConfig GetTaskConfig(Service *service)
90 (void)service;
97 HiviewService *service = GET_OBJECT(iUnknown, HiviewService, iUnknown);
104 SAMGR_SendRequest(&(service->identity), &request, NULL);