Event priority. Backend socket has higher prio.
This commit is contained in:
parent
f511cb0030
commit
7e1a00669c
7 changed files with 89 additions and 48 deletions
|
|
@ -44,30 +44,19 @@
|
|||
* Prototypes
|
||||
*/
|
||||
int clixon_exit_set(int nr);
|
||||
|
||||
int clixon_exit_get(void);
|
||||
|
||||
int clicon_sig_child_set(int val);
|
||||
|
||||
int clicon_sig_child_get(void);
|
||||
|
||||
int clicon_sig_ignore_set(int val);
|
||||
|
||||
int clicon_sig_ignore_get(void);
|
||||
|
||||
int clixon_event_reg_fd(int fd, int (*fn)(int, void*), void *arg, char *str);
|
||||
|
||||
int clixon_event_reg_fd_prio(int fd, int (*fn)(int, void*), void *arg, char *str, int prio);
|
||||
int clixon_event_unreg_fd(int s, int (*fn)(int, void*));
|
||||
|
||||
int clixon_event_reg_timeout(struct timeval t, int (*fn)(int, void*),
|
||||
void *arg, char *str);
|
||||
|
||||
int clixon_event_unreg_timeout(int (*fn)(int, void*), void *arg);
|
||||
|
||||
int clixon_event_poll(int fd);
|
||||
|
||||
int clixon_event_loop(clixon_handle h);
|
||||
|
||||
int clixon_event_exit(void);
|
||||
|
||||
#endif /* _CLIXON_EVENT_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue