| Line 70... |
Line 70... |
| 70 |
void *userData;
|
70 |
void *userData;
|
| 71 |
|
71 |
|
| 72 |
} InputHandler;
|
72 |
} InputHandler;
|
| 73 |
|
73 |
|
| 74 |
|
74 |
|
| 75 |
extern InputHandler *initStdinHandler(void);
|
- |
|
| 76 |
extern void consoleInputHandler(unsigned char *buf, int len);
|
- |
|
| 77 |
|
- |
|
| 78 |
extern InputHandler *addInputHandler(InputHandler *handlers, int fd, InputHandlerProc handler, int activity);
|
75 |
extern InputHandler *addInputHandler(InputHandler *handlers, int fd, InputHandlerProc handler, int activity);
|
| 79 |
extern InputHandler *getInputHandler(InputHandler *handlers, int fd);
|
76 |
extern InputHandler *getInputHandler(InputHandler *handlers, int fd);
|
| 80 |
extern int removeInputHandler(InputHandler **handlers, InputHandler *it);
|
77 |
extern int removeInputHandler(InputHandler **handlers, InputHandler *it);
|
| 81 |
extern InputHandler *getSelectedHandler(InputHandler *handlers, fd_set *mask);
|
78 |
extern InputHandler *getSelectedHandler(InputHandler *handlers, fd_set *mask);
|
| 82 |
extern fd_set *R_checkActivity(int usec, int ignore_stdin);
|
79 |
extern fd_set *R_checkActivity(int usec, int ignore_stdin);
|
| 83 |
extern fd_set *R_checkActivityEx(int usec, int ignore_stdin, void (*intr)(void));
|
- |
|
| 84 |
extern void R_runHandlers(InputHandler *handlers, fd_set *mask);
|
80 |
extern void R_runHandlers(InputHandler *handlers, fd_set *mask);
|
| 85 |
|
81 |
|
| 86 |
extern int R_SelectEx(int n, fd_set *readfds, fd_set *writefds,
|
82 |
extern int R_SelectEx(int n, fd_set *readfds, fd_set *writefds,
|
| 87 |
fd_set *exceptfds, struct timeval *timeout,
|
83 |
fd_set *exceptfds, struct timeval *timeout,
|
| 88 |
void (*intr)(void));
|
84 |
void (*intr)(void));
|