/[LeafOK_CVS]/lbbs/src/menu_proc.c
ViewVC logotype

Diff of /lbbs/src/menu_proc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.42 by sysadm, Tue Oct 21 11:11:28 2025 UTC Revision 1.45 by sysadm, Tue Nov 4 14:58:56 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                                    menu_proc.c  -  description  /*
3                                                           -------------------   * menu_proc
4          Copyright            : (C) 2004-2025 by Leaflet   *   - handler functions of menu commands
5          Email                : leaflet@leafok.com   *
6   ***************************************************************************/   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7     */
 /***************************************************************************  
  *                                                                         *  
  *   This program is free software; you can redistribute it and/or modify  *  
  *   it under the terms of the GNU General Public License as published by  *  
  *   the Free Software Foundation; either version 3 of the License, or     *  
  *   (at your option) any later version.                                   *  
  *                                                                         *  
  ***************************************************************************/  
8    
9  #include "article_cache.h"  #include "article_cache.h"
10  #include "article_favor_display.h"  #include "article_favor_display.h"
# Line 44  int list_section(void *param) Line 36  int list_section(void *param)
36          return REDRAW;          return REDRAW;
37  }  }
38    
39  typedef union exec_handler_t{  typedef union exec_handler_t
40    {
41          void *p;          void *p;
42          int (*handler)();          int (*handler)();
43  } exec_handler;  } exec_handler;
# Line 345  int favor_topic(void *param) Line 338  int favor_topic(void *param)
338          return REDRAW;          return REDRAW;
339  }  }
340    
341  int user_list(void *param)  int list_user(void *param)
342    {
343            if (user_list_display(0) < 0)
344            {
345                    log_error("user_list_display(all_user) error\n");
346            }
347    
348            return REDRAW;
349    }
350    
351    int list_online_user(void *param)
352  {  {
353          if (user_list_display() < 0)          if (user_list_display(1) < 0)
354          {          {
355                  log_error("user_list_display() error\n");                  log_error("user_list_display(online_user) error\n");
356          }          }
357    
358          return REDRAW;          return REDRAW;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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