| 1 |
/*************************************************************************** |
/*************************************************************************** |
| 2 |
register.c - description |
register.c - description |
| 3 |
------------------- |
------------------- |
| 4 |
begin : Mon Oct 20 2004 |
begin : Mon Oct 20 2004 |
| 5 |
copyright : (C) 2004 by Leaflet |
copyright : (C) 2004 by Leaflet |
| 6 |
email : leaflet@leafok.com |
email : leaflet@leafok.com |
| 7 |
***************************************************************************/ |
***************************************************************************/ |
| 8 |
|
|
| 9 |
/*************************************************************************** |
/*************************************************************************** |
| 15 |
* * |
* * |
| 16 |
***************************************************************************/ |
***************************************************************************/ |
| 17 |
|
|
| 18 |
|
#include "register.h" |
| 19 |
#include "bbs.h" |
#include "bbs.h" |
| 20 |
#include "common.h" |
#include "common.h" |
| 21 |
#include "io.h" |
#include "io.h" |
| 22 |
|
#include "screen.h" |
| 23 |
|
#include <string.h> |
| 24 |
#include <mysql.h> |
#include <mysql.h> |
| 25 |
#include <regex.h> |
#include <regex.h> |
| 26 |
|
|
| 27 |
int |
int user_register() |
|
user_register () |
|
| 28 |
{ |
{ |
| 29 |
char temp[256]; |
display_file_ex(DATA_REGISTER, 1, 1); |
| 30 |
|
|
| 31 |
strcpy (temp, app_home_dir); |
return -1; |
|
strcat (temp, "data/register.txt"); |
|
|
display_file_ex (temp, 1, 1); |
|
|
|
|
|
return -1; |
|
| 32 |
} |
} |