From d6231bab89d634da5564491196b7c478db038505 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sat, 4 Mar 2006 18:16:49 +0000 Subject: Initial import. --- UsersTable.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 UsersTable.h (limited to 'UsersTable.h') diff --git a/UsersTable.h b/UsersTable.h new file mode 100644 index 00000000..fd717c2e --- /dev/null +++ b/UsersTable.h @@ -0,0 +1,41 @@ +/* Do not edit this file. It was automatically genarated. */ + +#ifndef HEADER_UsersTable +#define HEADER_UsersTable +/* +htop +(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 +#include +#include +#include + +#include "debug.h" +#include + +#ifndef SYSCONFDIR +#define SYSCONFDIR "/etc" +#endif + +typedef struct UsersTable_ { + Hashtable* users; +} UsersTable; + +UsersTable* UsersTable_new(); + +void UsersTable_delete(UsersTable* this); + +char* UsersTable_getRef(UsersTable* this, int uid); + +inline int UsersTable_size(UsersTable* this); + +void UsersTable_foreach(UsersTable*, Hashtable_PairFunction, void*); + +#endif -- cgit v1.2.3