aboutsummaryrefslogtreecommitdiffstats
path: root/UsersTable.h
blob: b0d06fc33e5289d9c6507bc1a0341a8b148e3748 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Do not edit this file. It was automatically generated. */

#ifndef HEADER_UsersTable
#define HEADER_UsersTable
/*
htop - UsersTable.h
(C) 2004-2006 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 int UsersTable_size(UsersTable* this);

extern void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);

#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy