summaryrefslogtreecommitdiffstats
path: root/door_lock/cmd.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-11-06 17:57:09 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-11-06 17:57:09 +0800
commite6c41b84b88596d130de98919480afdb0dce3fcf (patch)
treee65ec4dd6918057854ab833edfd6f51504bb2af6 /door_lock/cmd.h
parent617474e23500edf91db1c35fc89d49f52a42afe7 (diff)
downloadsmart-home-e6c41b84b88596d130de98919480afdb0dce3fcf.tar.gz
Code clean up.
Diffstat (limited to 'door_lock/cmd.h')
-rw-r--r--door_lock/cmd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/door_lock/cmd.h b/door_lock/cmd.h
index c31f197..ec21ed6 100644
--- a/door_lock/cmd.h
+++ b/door_lock/cmd.h
@@ -6,8 +6,8 @@ enum command {
DOOR_UNLOCK
};
-int is_valid_cmd(const char *s, enum command c);
+int cmd_cmp(const char *s, enum command c);
-char * get_cmd_hash(enum command c);
+char * cmd_hash(enum command c);
#endif /* SA_CMD_H */