| 1 |
/*************************************************************************** |
/*************************************************************************** |
| 2 |
register.c - description |
register.c - description |
| 3 |
------------------- |
------------------- |
| 4 |
begin : Mon Oct 20 2004 |
Copyright : (C) 2004-2025 by Leaflet |
| 5 |
copyright : (C) 2004 by Leaflet |
Email : leaflet@leafok.com |
|
email : leaflet@leafok.com |
|
| 6 |
***************************************************************************/ |
***************************************************************************/ |
| 7 |
|
|
| 8 |
/*************************************************************************** |
/*************************************************************************** |
| 9 |
* * |
* * |
| 10 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
| 11 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
| 12 |
* the Free Software Foundation; either version 2 of the License, or * |
* the Free Software Foundation; either version 3 of the License, or * |
| 13 |
* (at your option) any later version. * |
* (at your option) any later version. * |
| 14 |
* * |
* * |
| 15 |
***************************************************************************/ |
***************************************************************************/ |
| 16 |
|
|
| 17 |
|
#include "register.h" |
| 18 |
#include "bbs.h" |
#include "bbs.h" |
| 19 |
#include "common.h" |
#include "common.h" |
| 20 |
#include "io.h" |
#include "io.h" |
| 21 |
|
#include "screen.h" |
| 22 |
|
#include <string.h> |
| 23 |
#include <mysql.h> |
#include <mysql.h> |
| 24 |
#include <regex.h> |
#include <regex.h> |
| 25 |
|
|
| 26 |
int |
int user_register() |
|
user_register () |
|
| 27 |
{ |
{ |
| 28 |
char temp[256]; |
display_file_ex(DATA_REGISTER, 1, 1); |
| 29 |
|
|
| 30 |
strcpy (temp, app_home_dir); |
return -1; |
|
strcat (temp, "data/register.txt"); |
|
|
display_file_ex (temp, 1, 1); |
|
|
|
|
|
return -1; |
|
| 31 |
} |
} |