summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bbs.h4
-rw-r--r--include/util.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 09ce1982..9163656b 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -42,6 +42,10 @@
#include "proto.h"
#include "gomo.h"
+#ifdef _UTIL_C_
+ #include "util.h"
+#endif
+
#ifndef INCLUDE_VAR_H
#include "var.h"
#endif
diff --git a/include/util.h b/include/util.h
new file mode 100644
index 00000000..d19944cc
--- /dev/null
+++ b/include/util.h
@@ -0,0 +1,7 @@
+#ifndef INCLUDE_UTIL_H
+#define INCLUDE_UTIL_H
+int passwd_mmap(void);
+int passwd_apply(int (*fptr)(userec_t *));
+int passwd_apply2(int (*fptr)(int, userec_t *));
+
+#endif // INCLUDE_UTIL_H