| 3 |
* user_list_display |
* user_list_display |
| 4 |
* - display user information |
* - display user information |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#include "bbs.h" |
#include "bbs.h" |
| 20 |
#include <time.h> |
#include <time.h> |
| 21 |
#include <sys/param.h> |
#include <sys/param.h> |
| 22 |
|
|
| 23 |
#define BBS_max_sessions_per_user 10 |
enum _user_info_display_constant_t |
| 24 |
#define LAST_LOGIN_DT_MAX_LEN 50 |
{ |
| 25 |
|
BBS_max_sessions_per_user = 10, |
| 26 |
|
LAST_LOGIN_DT_MAX_LEN = 50, |
| 27 |
|
}; |
| 28 |
|
|
| 29 |
static int display_user_info_key_handler(int *p_key, DISPLAY_CTX *p_ctx) |
static int display_user_info_key_handler(int *p_key, DISPLAY_CTX *p_ctx) |
| 30 |
{ |
{ |