aboutsummaryrefslogtreecommitdiffstats
path: root/src/sm-helper.h
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-29 18:41:25 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-29 21:39:59 +0900
commitf12c118f08b77d3bcfd0330961d7b90d11d9dd1a (patch)
tree61c616d16386b1114b44b582833cb6bc6bcc4ceb /src/sm-helper.h
parentdbaa852ae76e592c5ab60eca4967c9952e681ef6 (diff)
Add Error check with ErrorCode instead of GError
Change-Id: I56d12f2a2d1787e09e149b4931a1305925c44412 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/sm-helper.h')
-rw-r--r--src/sm-helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sm-helper.h b/src/sm-helper.h
index 412551d..0eb57a7 100644
--- a/src/sm-helper.h
+++ b/src/sm-helper.h
@@ -51,8 +51,8 @@ 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);
int sm_search_routing_event_name_index(const char* value);
-bool send_result_no_resp(const GError* result_of_send, const char* function);
-bool send_result(const GError* result_of_send, struct afb_req req, const char* function);
+bool send_result_no_resp(ErrorCode ec, const char* function);
+bool send_result(ErrorCode ec, struct afb_req req, const char* function);
ErrorCode is_range_over_guint16(int source);
ErrorCode is_range_over_gint16(int source);
#endif /*AM_HELPER_H*/ \ No newline at end of file