summaryrefslogtreecommitdiffstats
path: root/src/platform-info-apidef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform-info-apidef.h')
-rw-r--r--src/platform-info-apidef.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/platform-info-apidef.h b/src/platform-info-apidef.h
index c09da63..4dba262 100644
--- a/src/platform-info-apidef.h
+++ b/src/platform-info-apidef.h
@@ -5,6 +5,7 @@ static const struct afb_auth _afb_auths_platform_info[] = {
void afv_get(afb_req_t req);
void afv_set(afb_req_t req);
+ void afv_scan(afb_req_t req);
void afv_subscribe(afb_req_t req);
void afv_unsubscribe(afb_req_t req);
@@ -24,6 +25,13 @@ static const struct afb_verb_v3 _afb_verbs_platform_info[] = {
.session = AFB_SESSION_NONE
},
{
+ .verb = "scan",
+ .callback = afv_scan,
+ .auth = NULL,
+ .info = "Scan system devices",
+ .session = AFB_SESSION_NONE
+ },
+ {
.verb = "unsubscribe",
.callback = afv_unsubscribe,
.auth = NULL,