htop/UsersTable.h

38 lines
782 B
C
Raw Permalink Normal View History

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);
char* UsersTable_getRef(UsersTable* this, unsigned int uid);
2006-03-04 18:16:49 +00:00
inline int UsersTable_size(UsersTable* this);
2006-06-06 20:28:42 +00:00
inline void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
2006-03-04 18:16:49 +00:00
#endif