Lines Matching defs:feature
22 #include "feature.h"
36 static const char *FEATURE_GetName(Feature *feature);
37 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
38 static void FEATURE_OnStop(Feature *feature, Identity identity);
39 static BOOL FEATURE_OnMessage(Feature *feature, Request *request);
49 static const char *FEATURE_GetName(Feature *feature)
51 if (feature == &g_maintenFeature1) {
54 if (feature == &g_maintenFeature2) {
60 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity)
62 (void)feature;
67 static void FEATURE_OnStop(Feature *feature, Identity identity)
69 (void)feature;
73 static BOOL FEATURE_OnMessage(Feature *feature, Request *request)
75 (void)feature;
132 static void FInit(Feature *feature)
134 if (feature == &g_maintenFeature1) {
135 SAMGR_GetInstance()->RegisterFeature(MAINTEN_SERVICE1, feature);
138 if (feature == &g_maintenFeature2) {
139 SAMGR_GetInstance()->RegisterFeature(MAINTEN_SERVICE2, feature);