summaryrefslogtreecommitdiffstats
path: root/door_lock/cmd.h
blob: c31f197ed79d70b74ae1c30cebc73adf241da71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SA_CMD_H
#define SA_CMD_H

enum command {
	DOOR_LOCK,
	DOOR_UNLOCK
};

int is_valid_cmd(const char *s, enum command c);

char * get_cmd_hash(enum command c);

#endif /* SA_CMD_H */