|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Go to the source code of this file.
Classes | |
| struct | menu_index_struct |
| struct | menu_section_struct |
| struct | menu_selection_dll_struct |
| struct | ROW_SIZES |
Macros | |
| #define | fRee(sz) memFree(sz, "menu") |
| #define | mAlloc(sz) memMalloc(sz, "menu") |
| #define | MENU_DATA_SECTION "_DATASEC" |
| #define | MENU_DIR_SEP '\\' |
| #define | MENU_DIRECTIVE_DATA_FILE 3 |
| #define | MENU_DIRECTIVE_NEW_MENU_FILE 2 |
| #define | MENU_DIRECTIVE_NEW_SECTION 0 |
| #define | MENU_DIRECTIVE_TERM_SECTION 1 |
| #define | MENU_ERR_PUSH(a, b, c) err_push(b, c) |
| #define | MENU_FOPEN_R "rb" |
| #define | MENU_FOPEN_U "r+b" |
| #define | MENU_FOPEN_W "wb" |
| #define | MENU_IN_FILE 0 |
| #define | MENU_IN_MEM 1 |
| #define | MENU_INDEX_FILE 0 |
| #define | MENU_INDEX_MEM 1 |
| #define | MENU_INDEX_SECTION "*MENU INDEX" |
| #define | MENU_INDEX_SECTION_LEN 11 |
| #define | MENU_INSERT_SELECTION(ins, list) |
| #define | MENU_NEXT_SELECTION(a) ((a)->next_selection) |
| #define | MENU_PREV_SELECTION(a) ((a)->previous_selection) |
| #define | MENU_REMOVE_SELECTION(rmv, newptr) |
| #define | MENU_REWIND_SELECTION_DLL(a) {while((a)->previous_selection) (a)=(a)->previous_selection;} |
| #define | MENU_SECTION_TYPE_HELP 1 |
| #define | MENU_SECTION_TYPE_SELECTION 0 |
| #define | MENU_TEXT_CONTENT "ASCII" |
| #define | MENU_TEXT_CONTENT_SEC "TEXT_CONTENT" |
| #define | MENU_UNTITLED "Untitled" |
| #define | MN_STRNSTR(strpattern, strtext, textsize) ff_strnstr(strpattern, strtext, textsize) |
| #define | reAlloc(mptr, sz) memRealloc(mptr, sz, "menu") |
| #define | ROWSIZE_STRUCT_DEFINED |
| NOTE: THIS STRUCTURE IS ALSO DEFINED IN DATAVIEW.H!!!!!!!!!!!!!! More... | |
| #define | ulong unsigned long |
Typedefs | |
| typedef struct menu_index_struct | MENU_INDEX |
| typedef struct menu_index_struct * | MENU_INDEX_PTR |
| typedef struct menu_section_struct | MENU_SECTION |
| typedef struct menu_section_struct * | MENU_SECTION_PTR |
| typedef struct menu_selection_dll_struct | MENU_SELECTION |
| typedef struct menu_selection_dll_struct * | MENU_SELECTION_PTR |
| typedef struct ROW_SIZES * | ROW_SIZES_PTR |
Functions | |
| char * | mn_binary_fgets (char *string, int n, FILE *stream, char *file_eol_str) |
| int | mn_datasec_len_get (MENU_INDEX_PTR mindex, ROW_SIZES_PTR rowsize, long *length) |
| char * | mn_get_file_eol_str (char *filename) |
| int | mn_help_sec_find (MENU_INDEX_PTR mindex, char *lookup, ROW_SIZES_PTR rowsize, char *section_name) |
| int | mn_help_sec_get (MENU_INDEX_PTR mindex, char *lookup, ROW_SIZES_PTR rowsize, char **buf_filled) |
| int | mn_index_find_title (MENU_INDEX_PTR mindex, char *postfix, ROW_SIZES_PTR rowsize, char **buffer) |
| int | mn_index_free (MENU_INDEX_PTR mindex) |
| int | mn_index_get_offset (MENU_INDEX_PTR mindex, char *section, ROW_SIZES_PTR rowsize) |
| MENU_INDEX_PTR | mn_index_make (char *filename, ulong max_buf_size, char *outfilename) |
| int | mn_index_remove (char *filename, char *outfilename) |
| int | mn_index_set_paths (MENU_INDEX_PTR mindex, char *pathone, char *pathtwo) |
| int | mn_proc_section_free (MENU_SECTION_PTR menu_sec) |
| int | mn_sec_process (MENU_INDEX_PTR mindex, char *section_title, ROW_SIZES_PTR rowsize, char *parent_menu, MENU_SECTION_PTR *menu_sec) |
| int | mn_sec_titles_to_buf (MENU_INDEX_PTR mindex, char *buf_to_use, int *num_sections, char **buf_filled) |
| int | mn_section_get (MENU_INDEX_PTR mindex, char *buf_to_use, ROW_SIZES_PTR rowsize, char **buf_filled) |
| int | mn_section_rebuild (MENU_SECTION_PTR msection, char **buffer) |
| MENU_SELECTION_PTR | mn_selection_copy (MENU_SELECTION_PTR selection) |
| int | mn_selection_free (MENU_SELECTION_PTR selection) |
| #define fRee | ( | sz | ) | memFree(sz, "menu") |
Definition at line 282 of file menuindx.h.
| #define mAlloc | ( | sz | ) | memMalloc(sz, "menu") |
Definition at line 280 of file menuindx.h.
| #define MENU_DATA_SECTION "_DATASEC" |
Definition at line 181 of file menuindx.h.
| #define MENU_DIR_SEP '\\' |
Definition at line 172 of file menuindx.h.
| #define MENU_DIRECTIVE_DATA_FILE 3 |
Definition at line 161 of file menuindx.h.
| #define MENU_DIRECTIVE_NEW_MENU_FILE 2 |
Definition at line 160 of file menuindx.h.
| #define MENU_DIRECTIVE_NEW_SECTION 0 |
Definition at line 158 of file menuindx.h.
| #define MENU_DIRECTIVE_TERM_SECTION 1 |
Definition at line 159 of file menuindx.h.
| #define MENU_ERR_PUSH | ( | a, | |
| b, | |||
| c | |||
| ) | err_push(b, c) |
Definition at line 205 of file menuindx.h.
| #define MENU_FOPEN_R "rb" |
Definition at line 190 of file menuindx.h.
| #define MENU_FOPEN_U "r+b" |
Definition at line 192 of file menuindx.h.
| #define MENU_FOPEN_W "wb" |
Definition at line 191 of file menuindx.h.
| #define MENU_IN_FILE 0 |
Definition at line 168 of file menuindx.h.
| #define MENU_IN_MEM 1 |
Definition at line 169 of file menuindx.h.
| #define MENU_INDEX_FILE 0 |
Definition at line 164 of file menuindx.h.
| #define MENU_INDEX_MEM 1 |
Definition at line 165 of file menuindx.h.
| #define MENU_INDEX_SECTION "*MENU INDEX" |
Definition at line 184 of file menuindx.h.
| #define MENU_INDEX_SECTION_LEN 11 |
Definition at line 185 of file menuindx.h.
| #define MENU_INSERT_SELECTION | ( | ins, | |
| list | |||
| ) |
| #define MENU_NEXT_SELECTION | ( | a | ) | ((a)->next_selection) |
Definition at line 234 of file menuindx.h.
| #define MENU_PREV_SELECTION | ( | a | ) | ((a)->previous_selection) |
Definition at line 235 of file menuindx.h.
| #define MENU_REMOVE_SELECTION | ( | rmv, | |
| newptr | |||
| ) |
Definition at line 239 of file menuindx.h.
| #define MENU_REWIND_SELECTION_DLL | ( | a | ) | {while((a)->previous_selection) (a)=(a)->previous_selection;} |
Definition at line 236 of file menuindx.h.
| #define MENU_SECTION_TYPE_HELP 1 |
Definition at line 155 of file menuindx.h.
| #define MENU_SECTION_TYPE_SELECTION 0 |
Definition at line 154 of file menuindx.h.
| #define MENU_TEXT_CONTENT "ASCII" |
Definition at line 178 of file menuindx.h.
| #define MENU_TEXT_CONTENT_SEC "TEXT_CONTENT" |
Definition at line 188 of file menuindx.h.
| #define MENU_UNTITLED "Untitled" |
Definition at line 175 of file menuindx.h.
| #define MN_STRNSTR | ( | strpattern, | |
| strtext, | |||
| textsize | |||
| ) | ff_strnstr(strpattern, strtext, textsize) |
Definition at line 295 of file menuindx.h.
| #define reAlloc | ( | mptr, | |
| sz | |||
| ) | memRealloc(mptr, sz, "menu") |
Definition at line 281 of file menuindx.h.
| #define ROWSIZE_STRUCT_DEFINED |
NOTE: THIS STRUCTURE IS ALSO DEFINED IN DATAVIEW.H!!!!!!!!!!!!!!
Definition at line 51 of file menuindx.h.
| #define ulong unsigned long |
Definition at line 58 of file menuindx.h.
| typedef struct menu_index_struct MENU_INDEX |
| typedef struct menu_index_struct * MENU_INDEX_PTR |
| typedef struct menu_section_struct MENU_SECTION |
| typedef struct menu_section_struct * MENU_SECTION_PTR |
| typedef struct menu_selection_dll_struct MENU_SELECTION |
| typedef struct menu_selection_dll_struct * MENU_SELECTION_PTR |
| typedef struct ROW_SIZES * ROW_SIZES_PTR |
| char* mn_binary_fgets | ( | char * | string, |
| int | n, | ||
| FILE * | stream, | ||
| char * | file_eol_str | ||
| ) |
| int mn_datasec_len_get | ( | MENU_INDEX_PTR | mindex, |
| ROW_SIZES_PTR | rowsize, | ||
| long * | length | ||
| ) |
| char* mn_get_file_eol_str | ( | char * | filename | ) |
| int mn_help_sec_find | ( | MENU_INDEX_PTR | mindex, |
| char * | lookup, | ||
| ROW_SIZES_PTR | rowsize, | ||
| char * | section_name | ||
| ) |
| int mn_help_sec_get | ( | MENU_INDEX_PTR | mindex, |
| char * | lookup, | ||
| ROW_SIZES_PTR | rowsize, | ||
| char ** | buf_filled | ||
| ) |
| int mn_index_find_title | ( | MENU_INDEX_PTR | mindex, |
| char * | postfix, | ||
| ROW_SIZES_PTR | rowsize, | ||
| char ** | buffer | ||
| ) |
| int mn_index_free | ( | MENU_INDEX_PTR | mindex | ) |
| int mn_index_get_offset | ( | MENU_INDEX_PTR | mindex, |
| char * | section, | ||
| ROW_SIZES_PTR | rowsize | ||
| ) |
| MENU_INDEX_PTR mn_index_make | ( | char * | filename, |
| ulong | max_buf_size, | ||
| char * | outfilename | ||
| ) |
| int mn_index_remove | ( | char * | filename, |
| char * | outfilename | ||
| ) |
| int mn_index_set_paths | ( | MENU_INDEX_PTR | mindex, |
| char * | pathone, | ||
| char * | pathtwo | ||
| ) |
| int mn_proc_section_free | ( | MENU_SECTION_PTR | menu_sec | ) |
| int mn_sec_process | ( | MENU_INDEX_PTR | mindex, |
| char * | section_title, | ||
| ROW_SIZES_PTR | rowsize, | ||
| char * | parent_menu, | ||
| MENU_SECTION_PTR * | menu_sec | ||
| ) |
| int mn_sec_titles_to_buf | ( | MENU_INDEX_PTR | mindex, |
| char * | buf_to_use, | ||
| int * | num_sections, | ||
| char ** | buf_filled | ||
| ) |
| int mn_section_get | ( | MENU_INDEX_PTR | mindex, |
| char * | buf_to_use, | ||
| ROW_SIZES_PTR | rowsize, | ||
| char ** | buf_filled | ||
| ) |
| int mn_section_rebuild | ( | MENU_SECTION_PTR | msection, |
| char ** | buffer | ||
| ) |
| MENU_SELECTION_PTR mn_selection_copy | ( | MENU_SELECTION_PTR | selection | ) |
| int mn_selection_free | ( | MENU_SELECTION_PTR | selection | ) |