Logo Search packages:      
Sourcecode: dahdi-tools version File versions  Download package

Classes | Defines | Enumerations | Functions | Variables

menuselect.h File Reference

public data structures and defaults for menuselect More...

#include "linkedlists.h"
Include dependency graph for menuselect.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  category
struct  conflict
struct  depend
struct  member
struct  use

Defines

#define MENUSELECT_DEPS   "build_tools/menuselect-deps"
#define OUTPUT_MAKEDEPS_DEFAULT   "menuselect.makedeps"
#define OUTPUT_MAKEOPTS_DEFAULT   "menuselect.makeopts"

Enumerations

enum  failure_types { NO_FAILURE = 0, SOFT_FAILURE = 1, HARD_FAILURE = 2 }

Functions

 AST_LIST_HEAD_NOLOCK (categories, category) categories
void clear_enabled (struct category *cat, int index)
 Set a member of a category at the specified index to not enabled.
int count_categories (void)
int count_members (struct category *cat)
int run_menu (void)
void set_all (struct category *cat, int val)
 Enable/Disable all members of a category as long as dependencies have been met and no conflicts are found.
void set_enabled (struct category *cat, int index)
 Set a member of a category at the specified index to enabled.
static int strlen_zero (const char *s)
 returns non-zero if the string is not defined, or has zero length
void toggle_enabled (struct member *mem)
void toggle_enabled_index (struct category *cat, int index)
 Toggle a member of a category at the specified index to enabled/disabled.

Variables

const char * menu_name

Detailed Description

public data structures and defaults for menuselect

Definition in file menuselect.h.


Generated by  Doxygen 1.6.0   Back to index