diff options
author | 2018-05-11 15:32:46 +0900 | |
---|---|---|
committer | 2018-05-11 15:32:46 +0900 | |
commit | ddc2a15648b5de4cfd988ba2f83e6cfdbc35956d (patch) | |
tree | 7f235ee63c95a51cf9359e95f403fce89b6496b3 /src/sm-helper.h | |
parent | 9f46383f7f163650c4df30ba92caaabd871262b0 (diff) |
Get first sinkID and set it as default on initializesandbox/knimitz/high-level-api
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/sm-helper.h')
-rw-r--r-- | src/sm-helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sm-helper.h b/src/sm-helper.h index 0eb57a7..a6d09f1 100644 --- a/src/sm-helper.h +++ b/src/sm-helper.h @@ -47,6 +47,7 @@ REQ_ERROR get_value_uint16(const struct afb_req request, const char *source, uin REQ_ERROR get_value_int16(const struct afb_req request, const char *source, int16_t *out_id); REQ_ERROR get_value_int32(const struct afb_req request, const char *source, int32_t *out_id); REQ_ERROR get_sink_id(const struct afb_req request, const char* key, uint16_t *out_sink_id); +void set_default_sinkID(int sinkID); void sm_add_object_to_json_object(struct json_object* j_obj, int count, ...); void sm_add_object_to_json_object_func(struct json_object* j_obj, const char* verb_name, int count, ...); int sm_search_event_name_index(const char* value); |