2006-03-04 18:16:49 +00:00
|
|
|
#ifndef HEADER_UsersTable
|
|
|
|
#define HEADER_UsersTable
|
|
|
|
/*
|
2006-06-06 20:28:42 +00:00
|
|
|
htop - UsersTable.h
|
2011-05-26 16:35:07 +00:00
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2020-10-05 07:51:32 +00:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2006-03-04 18:16:49 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Hashtable.h"
|
|
|
|
|
|
|
|
typedef struct UsersTable_ {
|
|
|
|
Hashtable* users;
|
|
|
|
} UsersTable;
|
|
|
|
|
2020-09-08 12:28:34 +00:00
|
|
|
UsersTable* UsersTable_new(void);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
void UsersTable_delete(UsersTable* this);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
char* UsersTable_getRef(UsersTable* this, unsigned int uid);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-09-02 07:38:44 +00:00
|
|
|
void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|