diff options
Diffstat (limited to 'user_data.h')
-rw-r--r-- | user_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user_data.h b/user_data.h index 094ad75..5769ae9 100644 --- a/user_data.h +++ b/user_data.h @@ -6,5 +6,9 @@ void userdata_register(i64 userid,int fd); void userdata_unregister(i64 userid,int fd); +void userdata_mark_active(i64 userid,int fd); + +bool userdata_is_active(i64 userid); + // Returns array of nfds fd's; valid until next call to (un)register const int* userdata_online(i64 userid,i64 *nfds); |