diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-06 17:57:09 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-06 17:57:09 +0800 |
| commit | e6c41b84b88596d130de98919480afdb0dce3fcf (patch) | |
| tree | e65ec4dd6918057854ab833edfd6f51504bb2af6 /door_lock/cmd.h | |
| parent | 617474e23500edf91db1c35fc89d49f52a42afe7 (diff) | |
| download | smart-home-e6c41b84b88596d130de98919480afdb0dce3fcf.tar.gz | |
Code clean up.
Diffstat (limited to 'door_lock/cmd.h')
| -rw-r--r-- | door_lock/cmd.h | 4 |
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 */ |
