-/* I don't like this temporary macro definition - well it's used everywhere
- * else in the collectd-sources, so I will just stick with it... */
-#define BUFSIZE 256
-void users_submit(users)
- unsigned int users;
-{
- char buf[BUFSIZE] = "";
-
- if (snprintf(buf, BUFSIZE, "%u:%u",
- (unsigned int)curtime,
- users) >= BUFSIZE)
- return;
-
- plugin_submit(MODULE_NAME, NULL, buf);
- return;
-}
-#undef BUFSIZE
-
-void users_write(host, inst, val)
- char *host;
- char *inst;
- char *val;
-{
- rrd_update_file(host, rrd_file, val, ds_def, ds_num);
- return;
-}