Revision cc7646f9
Major changes to mainbox code.
-Added local cache for RFID -> tool permissions
-Queries new page /crm/roboauth/%08x, which gives bitmask of all tool
permissions instead of just one
-Added pid file at /var/run/tooltron.pid
-Now must be run as "tooltron run" and also has "tooltron refresh" and
"tooltron clear" which send signals to the pid in the pid file
-Other things I'm forgetting
mainbox/query.h | ||
---|---|---|
6 | 6 |
int query_init(); |
7 | 7 |
void query_cleanup(); |
8 | 8 |
int query_user_permission(int tool_id, unsigned int user_id); |
9 |
void query_refresh_cache(); |
|
9 | 10 |
int query_add_event(struct event_t *event); |
10 | 11 |
|
11 | 12 |
#endif |
Also available in: Unified diff