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

Diff of /lbbs/include/menu.h

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

Revision 1.22 by sysadm, Sun May 25 06:53:29 2025 UTC Revision 1.25 by sysadm, Fri Jun 20 11:27:47 2025 UTC
# Line 21  Line 21 
21  #include "trie_dict.h"  #include "trie_dict.h"
22  #include "bbs_cmd.h"  #include "bbs_cmd.h"
23  #include <stdint.h>  #include <stdint.h>
 #include <sys/shm.h>  
24    
25  #define MAX_MENU_NAME_LENGTH 30  #define MAX_MENU_NAME_LENGTH 30
26  #define MAX_ITEMS_PER_MENU 256  #define MAX_ITEMS_PER_MENU 256
# Line 80  struct menu_t Line 79  struct menu_t
79          int16_t item_count;          int16_t item_count;
80          int16_t page_row, page_col;          int16_t page_row, page_col;
81          int16_t page_item_limit;          int16_t page_item_limit;
82            int8_t use_filter;
83            bbs_cmd_handler filter_handler;
84  };  };
85  typedef struct menu_t MENU;  typedef struct menu_t MENU;
86    
# Line 115  extern int unload_menu(MENU_SET *p_menu_ Line 116  extern int unload_menu(MENU_SET *p_menu_
116  extern int set_menu_shm_readonly(MENU_SET *p_menu_set);  extern int set_menu_shm_readonly(MENU_SET *p_menu_set);
117  extern int detach_menu_shm(MENU_SET *p_menu_set);  extern int detach_menu_shm(MENU_SET *p_menu_set);
118    
119    extern int display_menu_cursor(MENU_SET *p_menu_set, int show);
120  extern int menu_control(MENU_SET *p_menu_set, int key);  extern int menu_control(MENU_SET *p_menu_set, int key);
121  extern int display_menu(MENU_SET *p_menu_set);  extern int display_menu(MENU_SET *p_menu_set);
122    


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

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