summaryrefslogtreecommitdiffstats
path: root/.gitignore
blob: 7c4785069a7d2084df5b1888c7f3a73ebbf6e090 (plain)
1
2
3
4
5
6
*~
.*.sw?
/docs_build/
/docs/projects/
/docs_output/
/releng/
n> // See the License for the specific language governing permissions and // limitations under the License. */ #ifndef _INPUT_H_ #define _INPUT_H_ #include <inttypes.h> struct input { int fd; /* Function to be called when data is available on the fd */ void (*proc_input)(struct input *input); void (*reply)(struct input *input, const char *buf, size_t len); void (*history)(struct input *input); }; int reg_input(struct input *in); void unreg_input(struct input *in); void input_proc_until(uint64_t deadline); void input_proc(void); #endif /* _INPUT_H_ */