1 #ifndef __OPTION_H_
2 #define __OPTION_H_
3 
4 /*# name=Menu server enumerations and structures
5 */
6 
7 /* Enumeration `option' -- All possible values for menu.option[x].type */
8 
9 typedef enum
10 {
11   nothing,
12 
13   MISC_BLOCK=100, display_menu, display_file, message, file, other,
14                   o_press_enter, key_poke, clear_stacked, o_if,
15                   o_menupath, o_cls, mex, link_menu, o_return,
16 
17 
18   XTERN_BLOCK=200, xtern_erlvl, xtern_dos, xtern_run, xtern_chain,
19                    xtern_concur,
20 
21   MAIN_BLOCK=300, goodbye, statistics, o_yell, userlist, o_version,
22                   user_editor, leave_comment, climax,
23 
24   MSG_BLOCK=400, same_direction, read_next, read_previous,
25                  enter_message, msg_reply, read_nonstop,
26                  read_original, read_reply, msg_list, msg_scan,
27                  msg_inquir, msg_kill, msg_hurl, forward, msg_upload,
28                  xport, read_individual, msg_checkmail, msg_change,
29                  msg_tag, msg_browse, msg_current, msg_edit_user,
30                  msg_upload_qwk, msg_toggle_kludges, msg_unreceive,
31                  msg_restrict, msg_area, msg_track, msg_dload_attach,
32                  msg_reply_area,
33 
34   FILE_BLOCK=500, locate, file_titles, file_type, upload, download, raw,
35                   file_kill, contents, file_hurl, override_path,
36                   newfiles, file_tag, file_area,
37 
38   /* Options generally found on the Change Setup menu */
39 
40   CHANGE_BLOCK=600, chg_city, chg_password, chg_help, chg_nulls,
41                     chg_width, chg_length, chg_tabs, chg_more,
42                     chg_video, chg_editor, chg_clear, chg_ibm,
43                     chg_phone, chg_realname, chg_hotkeys,
44                     chg_language, chg_userlist, chg_protocol,
45                     chg_fsr, chg_archiver, chg_rip,
46 
47   EDIT_BLOCK=700, edit_save, edit_abort, edit_list, edit_edit,
48                   edit_insert, edit_delete, edit_continue, edit_to,
49                   edit_from, edit_subj, edit_handling, read_diskfile,
50                   edit_quote,
51 
52   /* Stuff that was hacked on after the original implementation */
53 
54   CHAT_BLOCK=800, who_is_on, o_page, o_chat_cb, chat_toggle, o_chat_pvt,
55 
56   END_BLOCK,
57 
58 
59   /* Everything below here is RESERVED by Maximus for future uses!         *
60    * Also, everything ABOVE is fairly stable.  If changes have to be made, *
61    * the old options above will NOT be re-used.  For example, if the       *
62    * `edit_insert' command should become obsoleted for some reason, that   *
63    * slot would either get retired and do nothing, or perform the NEW      *
64    * edit_insert function.                                                 */
65 
66   rsvd=32766  /* This was stuck in to make sure that the `option'          *
67                * enumeration uses a word, instead of a byte, in case we    *
68                * really expand this structure sometime soon.               */
69 
70 } option;
71 
72 #endif
73