UsersTable.h 533 B

12345678910111213141516171819202122232425
  1. #ifndef HEADER_UsersTable
  2. #define HEADER_UsersTable
  3. /*
  4. htop - UsersTable.h
  5. (C) 2004-2011 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include "Hashtable.h"
  10. typedef struct UsersTable_ {
  11. Hashtable* users;
  12. } UsersTable;
  13. UsersTable* UsersTable_new(void);
  14. void UsersTable_delete(UsersTable* this);
  15. char* UsersTable_getRef(UsersTable* this, unsigned int uid);
  16. void UsersTable_foreach(UsersTable* this, Hashtable_PairFunction f, void* userData);
  17. #endif