aboutsummaryrefslogtreecommitdiffstats
path: root/src/sm-helper.h
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-16 18:14:52 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-16 18:38:27 +0900
commit0c458cecd936c4263f46fe582afb91df7f5ed61c (patch)
tree2c43e8f9d0fab40fc5d53fe3217bb9095542d0e8 /src/sm-helper.h
parentcbf280b545bbb3a879c55913564796f944b217c4 (diff)
Get first sinkID and set it as default on initialize
Get first sinkID and set it as default on initialize Change-Id: I7e5d6ef9db270f182dd1775985a2b6cf9b3fdc74 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/sm-helper.h')
-rw-r--r--src/sm-helper.h1
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);