summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 846dacf)
raw | patch | inline | side by side (parent: 846dacf)
author | niki <niki> | |
Thu, 15 Dec 2005 12:09:25 +0000 (12:09 +0000) | ||
committer | niki <niki> | |
Thu, 15 Dec 2005 12:09:25 +0000 (12:09 +0000) |
src/users.h | patch | blob | history |
diff --git a/src/users.h b/src/users.h
index 8665cb48765539e3d9ca2da0eafd275c8d4343dc..f67b83f78ef496b877796e5fa9116453b5bcf9d8 100644 (file)
--- a/src/users.h
+++ b/src/users.h
* Sebastian Harl <sh at tokkee.org>
**/
-#ifndef USERS_H
-#define USERS_H 1
+#if !COLLECTD_USERS_H
+#define COLLECTD_USERS_H 1
-#include <config.h>
+void module_register(void);
-#if !defined(HAVE_UTMPX_H) || !defined(HAVE_GETUTXENT)
-#undef HAVE_UTMPX_H
-#undef HAVE_GETUTXENT
-#endif
-
-#if !defined(HAVE_UTMP_H) || !defined(HAVE_GETUTENT)
-#undef HAVE_UTMPX_H
-#undef HAVE_GETUTXENT
-#endif
-
-#ifndef COLLECT_USERS
-#if defined(HAVE_UTMPX_H) || defined(HAVE_UTMP_H)
-#define COLLECT_USERS 1
-#else
-#define COLLECT_USERS 0
-#endif
-#endif /* ! defined(COLLECT_USERS) */
-
-void users_init(void);
-void users_read(void);
-void users_submit(unsigned int);
-void users_write(char *, char *, char *);
-
-#endif /* ! defined(USERS_H) */
+#endif /* !COLLECTD_USERS_H) */