diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-02 19:02:56 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-02 19:02:56 +0800 |
commit | fda321941af663cd65191c20db9637cec1cf8e3d (patch) | |
tree | 195cf25ca356288daa8471c1201208c4d5e3f1b3 | |
parent | cd5f14736cc70fa6eb57085f2532955d6f20af50 (diff) | |
download | pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar.gz pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar.bz2 pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar.lz pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar.xz pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.tar.zst pttbbs-fda321941af663cd65191c20db9637cec1cf8e3d.zip |
for util/
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@551 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/include/bbs.h | 4 | ||||
-rw-r--r-- | pttbbs/include/util.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/pttbbs/include/bbs.h b/pttbbs/include/bbs.h index 09ce1982..9163656b 100644 --- a/pttbbs/include/bbs.h +++ b/pttbbs/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/pttbbs/include/util.h b/pttbbs/include/util.h new file mode 100644 index 00000000..d19944cc --- /dev/null +++ b/pttbbs/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 |