| 14 |
* * |
* * |
| 15 |
***************************************************************************/ |
***************************************************************************/ |
| 16 |
|
|
| 17 |
|
#define _POSIX_C_SOURCE 200809L |
| 18 |
|
|
| 19 |
#include "bbs.h" |
#include "bbs.h" |
| 20 |
#include "bbs_cmd.h" |
#include "bbs_cmd.h" |
| 21 |
#include "common.h" |
#include "common.h" |
| 29 |
#include <errno.h> |
#include <errno.h> |
| 30 |
#include <signal.h> |
#include <signal.h> |
| 31 |
#include <string.h> |
#include <string.h> |
|
#include <sys/types.h> |
|
| 32 |
#include <time.h> |
#include <time.h> |
| 33 |
#include <unistd.h> |
#include <unistd.h> |
| 34 |
|
#include <sys/types.h> |
| 35 |
|
|
| 36 |
int list_section(void *param) |
int list_section(void *param) |
| 37 |
{ |
{ |
| 95 |
|
|
| 96 |
int license(void *param) |
int license(void *param) |
| 97 |
{ |
{ |
| 98 |
display_file(DATA_LICENSE, 1, 0); |
display_file(DATA_LICENSE, 0); |
| 99 |
|
|
| 100 |
return REDRAW; |
return REDRAW; |
| 101 |
} |
} |
| 102 |
|
|
| 103 |
int copyright(void *param) |
int copyright(void *param) |
| 104 |
{ |
{ |
| 105 |
display_file(DATA_COPYRIGHT, 1, 1); |
display_file(DATA_COPYRIGHT, 1); |
| 106 |
|
|
| 107 |
return REDRAW; |
return REDRAW; |
| 108 |
} |
} |