summaryrefslogtreecommitdiffstats
path: root/door_lock/cmd.h
blob: ec21ed69e2565dc79546e8e9c769ceab81e2c0aa (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 cmd_cmp(const char *s, enum command c);

char * cmd_hash(enum command c);

#endif /* SA_CMD_H */