summaryrefslogtreecommitdiffstats
path: root/UsersTable.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2006-03-04 18:16:49 +0000
committerHisham Muhammad <hisham@gobolinux.org>2006-03-04 18:16:49 +0000
commitd6231bab89d634da5564491196b7c478db038505 (patch)
treebfc0bf00b138763eb41132fd27a8f389a78bf3a4 /UsersTable.h
Initial import.
Diffstat (limited to 'UsersTable.h')
-rw-r--r--UsersTable.h41
1 files changed, 41 insertions, 0 deletions
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 <stdio.h>
+#include <strings.h>
+#include <pwd.h>
+#include <sys/types.h>
+
+#include "debug.h"
+#include <assert.h>
+
+#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

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