Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Macros | Functions

Adaptive Framework Software Flag Header. More...

#include "afw_interface.h"

Go to the source code of this file.

Data Structures

struct  afw_flag_s
 Struct used for a registered flag. More...
 

Macros

#define AFW_FLAG_INITIAL_ALLOCATED_COUNT   64
 
#define afw_flag_is_active(flag_index, xctx)   ((flag_index) < (xctx)->flags_count && (xctx)->flags[flag_index])
 Determine if flag for flag index is set in xctx. More...
 

Functions

afw_boolean_t afw_flag_by_id_is_active (const afw_utf8_t *flag_id, afw_xctx_t *xctx)
 Determine if flag for flag id is set in xctx. More...
 
const afw_flag_tafw_flag_get_by_index (afw_size_t flag_index, afw_xctx_t *xctx)
 Get flag by index. More...
 
afw_size_t afw_flag_get_index (const afw_utf8_t *flag_id, afw_xctx_t *xctx)
 Get the flag index for a flag id. More...
 
void afw_flag_set_default (const afw_utf8_t *flag_id, afw_boolean_t set_to, afw_xctx_t *xctx)
 Set the default value of a flag. More...
 
void afw_flag_set_default_flag_ids (const afw_list_t *default_flag_ids, afw_xctx_t *xctx)
 Set a new default flags list. More...
 
void afw_flag_set (const afw_utf8_t *flag_id, afw_boolean_t set_to, afw_xctx_t *xctx)
 Set a flag in xctx. More...
 
void afw_flag_set_to_defaults_plus_array (const afw_utf8_t *const *flag_ids, afw_xctx_t *xctx)
 Set xctx default flags plus one or more additional flags. More...
 
void afw_flag_environment_register_flag (const afw_utf8_t *flag_id, const afw_utf8_t *brief, const afw_utf8_t *description, const afw_utf8_t *included_by_flag_id, afw_xctx_t *xctx)
 Register a flag definition. More...
 
void afw_flag_add_included_by (const afw_utf8_t *flag_id, const afw_utf8_t *included_by_flag_id, afw_xctx_t *xctx)
 Add another include_by flag to a registered flag. More...
 
 afw_flag_internal_early_register_core (afw_xctx_t *xctx)
 

Detailed Description

Adaptive Framework Software Flag Header.

Definition in file afw_flag.h.