chiark / gitweb /
Prep v230: Add utmp support to make wall message to work properly.
[elogind.git] / src / update-utmp / update-utmp.h
diff --git a/src/update-utmp/update-utmp.h b/src/update-utmp/update-utmp.h
new file mode 100644 (file)
index 0000000..7d7d431
--- /dev/null
@@ -0,0 +1,12 @@
+#pragma once
+#ifndef ELOGIND_SRC_UPDATE_UTMP_UPDATE_UTMP_H_INCLUDED
+#define ELOGIND_SRC_UPDATE_UTMP_UPDATE_UTMP_H_INCLUDED
+
+/******************************************************************
+* Make the old main() from update-utmp.c visible as update_utmp() *
+******************************************************************/
+
+void update_utmp(int argc, char* argv[], sd_bus *bus);
+
+
+#endif // ELOGIND_SRC_UPDATE_UTMP_UPDATE_UTMP_H_INCLUDED