projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved mifare-read to seperate directory
[svn42.git]
/
door_daemon
/
command_queue.h
diff --git
a/door_daemon/command_queue.h
b/door_daemon/command_queue.h
index
2397fb7
..
1b26e3a
100644
(file)
--- a/
door_daemon/command_queue.h
+++ b/
door_daemon/command_queue.h
@@
-23,7
+23,7
@@
#include <sys/time.h>
#include <sys/time.h>
-enum cmd_id_enum { OPEN, CLOSE, TOGGLE, RESET, STATUS, LOG };
+enum cmd_id_enum { OPEN, CLOSE, TOGGLE, RESET, STATUS, LOG , LISTEN };
typedef enum cmd_id_enum cmd_id_t;
struct cmd_struct {
typedef enum cmd_id_enum cmd_id_t;
struct cmd_struct {
@@
-38,7
+38,7
@@
typedef struct cmd_struct cmd_t;
int cmd_push(cmd_t** first, int fd, cmd_id_t cmd, const char* param);
void cmd_sent(cmd_t* cmd);
int cmd_push(cmd_t** first, int fd, cmd_id_t cmd, const char* param);
void cmd_sent(cmd_t* cmd);
-int cmd_has_expired(const cmd_t cmd);
+int cmd_has_expired(cmd_t cmd);
void cmd_pop(cmd_t** first);
void cmd_clear(cmd_t** first);
void cmd_pop(cmd_t** first);
void cmd_clear(cmd_t** first);