summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index f6d13042..8fe3621c 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,8 +1,8 @@
-/* $Id: admin.c,v 1.26 2002/07/21 08:18:41 in2 Exp $ */
+/* $Id: admin.c,v 1.27 2002/07/21 09:26:02 in2 Exp $ */
#include "bbs.h"
/* �ϥΪ̺޲z */
-int
+int
m_user()
{
userec_t muser;
@@ -26,7 +26,7 @@ m_user()
return 0;
}
-static int
+static int
search_key_user(char *passwdfile, int mode)
{
userec_t user;
@@ -111,7 +111,7 @@ search_key_user(char *passwdfile, int mode)
}
/* �H���N key �M��ϥΪ� */
-int
+int
search_user_bypwd()
{
search_key_user(FN_PASSWD, 1);
@@ -119,7 +119,7 @@ search_user_bypwd()
}
/* �M��ƥ����ϥΪ̸�� */
-int
+int
search_user_bybakpwd()
{
char *choice[] = {
@@ -149,14 +149,14 @@ search_user_bybakpwd()
return 0;
}
-static void
+static void
bperm_msg(boardheader_t * board)
{
prints("\n�]�w [%s] �ݪO��(%s)�v���G", board->brdname,
board->brdattr & BRD_POSTMASK ? "�o��" : "�\\Ū");
}
-unsigned int
+unsigned int
setperms(unsigned int pbits, char *pstring[])
{
register int i;
@@ -189,7 +189,7 @@ setperms(unsigned int pbits, char *pstring[])
}
/* �۰ʳ]�ߺ�ذ� */
-void
+void
setup_man(boardheader_t * board)
{
char genbuf[200];
@@ -199,7 +199,7 @@ setup_man(boardheader_t * board)
}
-int
+int
m_mod_board(char *bname)
{
boardheader_t bh, newbh;
@@ -381,7 +381,7 @@ m_mod_board(char *bname)
}
/* �]�w�ݪO */
-int
+int
m_board()
{
char bname[32];
@@ -398,7 +398,7 @@ m_board()
}
/* �]�w�t���ɮ� */
-int
+int
x_file()
{
int aborted;
@@ -522,7 +522,7 @@ x_file()
return FULLUPDATE;
}
-int
+int
m_newbrd(int recover)
{
boardheader_t newboard;
@@ -633,7 +633,7 @@ m_newbrd(int recover)
return 0;
}
-static int
+static int
auto_scan(char fdata[][STRLEN], char ans[])
{
int good = 0;
@@ -718,7 +718,7 @@ auto_scan(char fdata[][STRLEN], char ans[])
}
/* �B�z Register Form */
-int
+int
scan_register_form(char *regfile, int automode, int neednum)
{
char genbuf[200];
@@ -949,8 +949,8 @@ scan_register_form(char *regfile, int automode, int neednum)
/** DickG: �N�f�F�X����������� post �� Security �O�W ***********/
/*
- * DickG: �]���s�������W���ݼf�֤�סA�O�G�S�����n�d�U record
- * ime(buf, 200, "%Y/%m/%d/%H:%M", pt);
+ * DickG: �]���s�������W���ݼf�֤�סA�O�G�S�����n�d�U record ime(buf,
+ * 200, "%Y/%m/%d/%H:%M", pt);
*
* strcpy(xboard, "Security"); setbpath(xfpath, xboard); stampfile(xfpath,
* &xfile); strcpy(xfile.owner, "�t��"); strcpy(xfile.title, "[���i]
@@ -966,7 +966,7 @@ scan_register_form(char *regfile, int automode, int neednum)
return (0);
}
-int
+int
m_register()
{
FILE *fn;
@@ -1005,7 +1005,7 @@ m_register()
return 0;
}
-int
+int
cat_register()
{
if (system("cat register.new.tmp >> register.new") == 0 &&
@@ -1017,7 +1017,7 @@ cat_register()
return 0;
}
-static void
+static void
give_id_money(char *user_id, int money, FILE * log_fp, char *mail_title, time_t t)
{
char tt[TTLEN + 1] = {0};
@@ -1034,7 +1034,7 @@ give_id_money(char *user_id, int money, FILE * log_fp, char *mail_title, time_t
}
}
-int
+int
give_money()
{
FILE *fp, *fp2;