blob: 5769ae9fa4796e95c7ead2eac761d1d40d22fa22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "global.h"
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);
|