Home
last modified time | relevance | path

Searched refs:keyprefix (Results 1 – 7 of 7) sorted by relevance

/base/startup/syspara_lite/interfaces/innerkits/native/syspara/src/
Dparam_watchagent.cpp20 int WatchParameter(const char *keyprefix, ParameterChgPtr callback, void *context) in WatchParameter() argument
22 if (keyprefix == nullptr) { in WatchParameter()
29 return SystemWatchParameter(keyprefix, callback, context); in WatchParameter()
/base/startup/init/interfaces/innerkits/service_watcher/
Dservice_watcher.c61 int WatchParameter(const char *keyprefix, ParameterChgPtr callback, void *context) in WatchParameter() argument
63 if (keyprefix == NULL) { in WatchParameter()
70 return SystemWatchParameter(keyprefix, callback, context); in WatchParameter()
/base/startup/init/services/param/linux/
Dparam_request.c247 int WatchParamCheck(const char *keyprefix) in WatchParamCheck() argument
249 PARAM_CHECK(keyprefix != NULL, return PARAM_CODE_INVALID_PARAM, "Invalid keyprefix"); in WatchParamCheck()
250 int ret = CheckParamName(keyprefix, 0); in WatchParamCheck()
251 PARAM_CHECK(ret == 0, return ret, "Illegal param name %s", keyprefix); in WatchParamCheck()
253 ret = ReadParamWithCheck(keyprefix, DAC_WATCH, &handle); in WatchParamCheck()
255 PARAM_CHECK(ret == 0, return ret, "Forbid to watch parameter %s", keyprefix); in WatchParamCheck()
/base/startup/init/services/include/param/
Dinit_param.h192 int SystemWatchParameter(const char *keyprefix, ParameterChangePtr change, void *context);
198 int WatchParamCheck(const char *keyprefix);
/base/startup/init/services/param/liteos/
Dparam_client.c117 int WatchParamCheck(const char *keyprefix) in WatchParamCheck() argument
119 (void)keyprefix; in WatchParamCheck()
/base/startup/syspara_lite/interfaces/kits/
Dparameter.h120 int WatchParameter(const char *keyprefix, ParameterChgPtr callback, void *context);
/base/startup/syspara_lite/interfaces/innerkits/native/syspara/include/
Dparameter.h98 int WatchParameter(const char *keyprefix, ParameterChgPtr callback, void *context);