aboutsummaryrefslogtreecommitdiff
path: root/user_data.h
blob: 094ad755522f8fcaa77e6a175397ed00b3f3e0aa (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include "global.h"


void userdata_register(i64 userid,int fd);
void userdata_unregister(i64 userid,int fd);

// Returns array of nfds fd's; valid until next call to (un)register
const int* userdata_online(i64 userid,i64 *nfds);