blob: 1ac5307d4632f758307c9a0ed09953955b8db654 (
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 active);
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);
|