You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
735 B
35 lines
735 B
/* Do not edit this file. It was automatically generated. */ |
|
|
|
#ifndef HEADER_UsersTable |
|
#define HEADER_UsersTable |
|
/* |
|
htop - UsersTable.h |
|
(C) 2004-2011 Hisham H. Muhammad |
|
Released under the GNU GPL, see the COPYING file |
|
in the source distribution for its full text. |
|
*/ |
|
|
|
#include "Hashtable.h" |
|
#include "String.h" |
|
|
|
#include <stdio.h> |
|
#include <strings.h> |
|
#include <pwd.h> |
|
#include <sys/types.h> |
|
|
|
#include "debug.h" |
|
#include <assert.h> |
|
|
|
typedef struct UsersTable_ { |
|
Hashtable* users; |
|
} UsersTable; |
|
|
|
UsersTable* UsersTable_new(); |
|
|
|
void UsersTable_delete(UsersTable* this); |
|
|
|
char* UsersTable_getRef(UsersTable* this, unsigned int uid); |
|
|
|
extern void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData); |
|
|
|
#endif
|
|
|