htop/UsersTable.h

26 lines
533 B
C
Raw Normal View History

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
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"
2021-04-29 15:12:43 +00:00
2006-03-04 18:16:49 +00:00
typedef struct UsersTable_ {
Hashtable* users;
} UsersTable;
UsersTable* UsersTable_new(void);
2006-03-04 18:16:49 +00:00
void UsersTable_delete(UsersTable* this);
2006-03-04 18:16:49 +00:00
char* UsersTable_getRef(UsersTable* this, unsigned int uid);
2006-03-04 18:16:49 +00:00
void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
2006-03-04 18:16:49 +00:00
#endif