/[LeafOK_CVS]/lbbs/include/user_list_display.h
ViewVC logotype

Contents of /lbbs/include/user_list_display.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Sun Nov 2 14:38:53 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.2: +2 -0 lines
Content type: text/x-chdr
Add user search in user list display
Fix bug: memory of user introduction pointed by USER_INFO.intro might be overwritten during user_list_pool_reload(),
         use external buffer passed into query_user_info_by_uid() to prevent this issue.

1 /***************************************************************************
2 user_list_display.h - description
3 -------------------
4 Copyright : (C) 2004-2025 by Leaflet
5 Email : leaflet@leafok.com
6 ***************************************************************************/
7
8 /***************************************************************************
9 * *
10 * 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 *
12 * the Free Software Foundation; either version 3 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17 #ifndef _USER_LIST_DISPLAY_H_
18 #define _USER_LIST_DISPLAY_H_
19
20 #include "user_list.h"
21
22 extern int user_list_display(int online_user);
23
24 extern int user_list_search(void);
25
26 #endif //_USER_LIST_DISPLAY_H_

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1