2006-06-06 20:28:42 +00:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
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
|
2006-03-04 18:16:49 +00:00
|
|
|
(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);
|
|
|
|
|
2007-04-05 19:53:23 +00:00
|
|
|
char* UsersTable_getRef(UsersTable* this, unsigned int uid);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2007-08-10 05:59:36 +00:00
|
|
|
extern void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|