UsersTable.h 735 Bytes
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2
3
4
5

#ifndef HEADER_UsersTable
#define HEADER_UsersTable
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - UsersTable.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
(C) 2004-2011 Hisham H. Muhammad
Hisham Muhammad's avatar
Hisham Muhammad committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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);

31
char* UsersTable_getRef(UsersTable* this, unsigned int uid);
Hisham Muhammad's avatar
Hisham Muhammad committed
32

33
extern void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
Hisham Muhammad's avatar
Hisham Muhammad committed
34
35

#endif