Added a generic way to reset last read/write variables.

This commit is contained in:
Jan Vidar Krey
2009-06-22 18:38:39 +02:00
parent ddc91d1640
commit ff47281197
2 changed files with 22 additions and 1 deletions

View File

@@ -283,7 +283,15 @@ extern void user_net_io_want_write(struct user* user);
*/
extern void user_net_io_want_read(struct user* user, int timeout_s);
/**
* Reset the last-write timer.
*/
extern void user_reset_last_write(struct user* user);
/**
* Reset the last-write timer.
*/
extern void user_reset_last_read(struct user* user);
#endif /* HAVE_UHUB_USER_H */