Table of contents
- Headers structures
- Defined in this file
- Structure arg_input
- Structure arrays_spec
- Structure callback_args_s
- Structure callback_args_s
- Structure enum_member
- Structure enum_spec
- Structure enum_members
- Structure enum_indic
- Structure enum_multiline_status_s
- Structure function_arg
- Structure function_args
- Structure function_spec
- Structure function_indic
- Structure function_multiline_status_s
- Structure gen_config
- Structure macro_args
- Structure macro_spec
- Structure macro_indic
- Structure macro_multiline_status_s
- Structure primitive_spec
- Structure primitives_indic
- Structure reference
- Structure result
- Structure struct_member
- Structure struct_members
- Structure struct_spec
- Structure struct_indic
- Structure source_code_defs
- Structure source_code
- Structure source_code_impls
- Structure status_s
- Structure struct_multiline_status_s
- Structure typedef_spec
- Structure typedef_indic
- Structure typedef_multiline_status_s
- Structure variables_indic
- Structure variable
- Indexed files
Headers structures
This file contains all the declared structures for the headers files
Defined in this file
The following 37 structures are referenced here
- arg_input
- arrays_spec
- callback_args_s
- callback_args_s
- enum_member
- enum_spec
- enum_members
- enum_indic
- enum_multiline_status_s
- function_arg
- function_args
- function_spec
- function_indic
- function_multiline_status_s
- gen_config
- macro_args
- macro_spec
- macro_indic
- macro_multiline_status_s
- primitive_spec
- primitives_indic
- reference
- result
- struct_member
- struct_members
- struct_spec
- struct_indic
- source_code_defs
- source_code
- source_code_impls
- status_s
- struct_multiline_status_s
- typedef_spec
- typedef_indic
- typedef_multiline_status_s
- variables_indic
- variable
Structure arg_input
struct arg_input {
char * name;
char * description;
ArgType type;
int found;
int int_res;
char * str_result;
};
Defined in src/parsers/args.h:10
Members
Structure arrays_spec
struct arrays_spec {
ulint count;
char ** array;
};
Defined in src/reader/reader.h:51
Members
Structure callback_args_s
struct callback_args_s {};
Defined in src/core/config.h:34
Structure callback_args_s
struct callback_args_s {
gen_config_t config;
source_code_t source_code;
struct result results;
};
Defined in src/core/core.h:26
Members
- config :
gen_config_t - source_code :
source_code_t - results :
struct result
Structure enum_member
struct enum_member {
char name[ENTITIES_NAME_LENGTH];
char value[ENTITIES_NAME_LENGTH];
};
Defined in src/reader/reader.h:79
Members
- name :
char [ENTITIES_NAME_LENGTH] - value :
char [ENTITIES_NAME_LENGTH]
Structure enum_spec
struct enum_spec {
char name[ENTITIES_NAME_LENGTH];
struct enum_members * members;
reference_t ref;
fnt_modifier modifiers;
};
Defined in src/reader/reader.h:87
Members
- name :
char [ENTITIES_NAME_LENGTH] - members :
struct enum_members * - ref :
reference_t - modifiers :
fnt_modifier
Structure enum_members
struct enum_members {
ulint count;
struct enum_member * array;
};
Defined in src/reader/reader.h:83
Members
- count :
ulint - array :
struct enum_member *
Structure enum_indic
struct enum_indic {
ulint count;
struct enum_spec * array;
};
Defined in src/reader/reader.h:199
Members
- count :
ulint - array :
struct enum_spec *
Structure enum_multiline_status_s
struct enum_multiline_status_s {
char name[ENTITIES_NAME_LENGTH];
ulint starts_on_line;
ulint members_count;
struct enum_member * members;
fnt_modifier modifiers;
char member_name_buffer[ENTITIES_NAME_LENGTH];
unsigned short int member_name_index;
unsigned short int value_buffer_index;
char found_equal;
char value_buffer[ENTITIES_NAME_LENGTH];
struct enum_spec ** doubleptr;
};
Defined in src/core/core.h:101
Members
- name :
char [ENTITIES_NAME_LENGTH] - starts_on_line :
ulint - members_count :
ulint - members :
struct enum_member * - modifiers :
fnt_modifier - member_name_buffer :
char [ENTITIES_NAME_LENGTH] - member_name_index :
unsigned short int - value_buffer_index :
unsigned short int - found_equal :
char - value_buffer :
char [ENTITIES_NAME_LENGTH] - doubleptr :
struct enum_spec **
Structure function_arg
struct function_arg {
char name[ENTITIES_NAME_LENGTH];
entity_type_t type;
};
Defined in src/reader/reader.h:102
Members
- name :
char [ENTITIES_NAME_LENGTH] - type :
entity_type_t
Structure function_args
struct function_args {
ulint count;
struct function_arg * array;
};
Defined in src/reader/reader.h:106
Members
- count :
ulint - array :
struct function_arg *
Structure function_spec
struct function_spec {
char name[ENTITIES_NAME_LENGTH];
entity_type_t returntype;
fnt_modifier modifiers;
reference_t ref;
struct function_args * args;
char * description;
};
Defined in src/reader/reader.h:110
Members
- name :
char [ENTITIES_NAME_LENGTH] - returntype :
entity_type_t - modifiers :
fnt_modifier - ref :
reference_t - args :
struct function_args * - description :
char *
Structure function_indic
struct function_indic {
ulint count;
struct function_spec * array;
};
Defined in src/reader/reader.h:183
Members
- count :
ulint - array :
struct function_spec *
Structure function_multiline_status_s
struct function_multiline_status_s {
char name[ENTITIES_NAME_LENGTH];
entity_type_t returntype;
ulint starts_on_line;
int reading_args;
int reading_arg;
ulint args_count;
char ** args;
fnt_modifier modifiers;
const char * filenameptr;
unsigned int words_counted;
int is_declaration;
char * multiline_parameter_buffer[ENTITIES_NAME_LENGTH 2];
unsigned int parameter_index;
struct function_spec ** doubleptr;
};
Defined in src/core/core.h:85
Members
- name :
char [ENTITIES_NAME_LENGTH] - returntype :
entity_type_t - starts_on_line :
ulint - reading_args :
int - reading_arg :
int - args_count :
ulint - args :
char ** - modifiers :
fnt_modifier - filenameptr :
const char * - words_counted :
unsigned int - is_declaration :
int - multiline_parameter_buffer :
char * [ENTITIES_NAME_LENGTH 2] - parameter_index :
unsigned int - doubleptr :
struct function_spec **
Structure gen_config
struct gen_config {
char src[PATH_MAX];
char dest[PATH_MAX];
char work[PATH_MAX];
char * srccp;
char * srcdirname;
int verbose_registration;
char * rebase_prefix;
char gitline;
char reference_files_section;
char prelinkage;
};
Defined in src/core/config.h:14
Members
- src :
char [PATH_MAX] - dest :
char [PATH_MAX] - work :
char [PATH_MAX] - srccp :
char * - srcdirname :
char * - verbose_registration :
int - rebase_prefix :
char * - gitline :
char - reference_files_section :
char - prelinkage :
char
Structure macro_args
struct macro_args {
ulint count;
char ** array;
};
Defined in src/reader/reader.h:119
Members
Structure macro_spec
struct macro_spec {
char name[ENTITIES_NAME_LENGTH];
char placeholder[MACRO_PLACEHOLDER_LENGTH];
int is_function;
char * description;
struct macro_args * args;
reference_t ref;
};
Defined in src/reader/reader.h:123
Members
- name :
char [ENTITIES_NAME_LENGTH] - placeholder :
char [MACRO_PLACEHOLDER_LENGTH] - is_function :
int - description :
char * - args :
struct macro_args * - ref :
reference_t
Structure macro_indic
struct macro_indic {
ulint count;
struct macro_spec * array;
};
Defined in src/reader/reader.h:187
Members
- count :
ulint - array :
struct macro_spec *
Structure macro_multiline_status_s
struct macro_multiline_status_s {
char ** array;
ulint params_count;
int is_function;
ulint content_index;
char content[MACRO_PLACEHOLDER_LENGTH];
char name[ENTITIES_NAME_LENGTH];
int in_string;
int in_char;
ulint starts_on_line;
};
Defined in src/core/core.h:61
Members
- array :
char ** - params_count :
ulint - is_function :
int - content_index :
ulint - content :
char [MACRO_PLACEHOLDER_LENGTH] - name :
char [ENTITIES_NAME_LENGTH] - in_string :
int - in_char :
int - starts_on_line :
ulint
Structure primitive_spec
struct primitive_spec {
char name[ENTITIES_NAME_LENGTH];
PrimitiveSource source;
char is_structure;
};
Defined in src/reader/reader.h:168
Members
- name :
char [ENTITIES_NAME_LENGTH] - source :
PrimitiveSource - is_structure :
char
Structure primitives_indic
struct primitives_indic {
ulint count;
struct primitive_spec * array;
};
Defined in src/reader/reader.h:203
Members
- count :
ulint - array :
struct primitive_spec *
Structure reference
struct reference {
char filename[PATH_MAX];
ulint line;
};
Defined in src/reader/reader.h:31
Members
- filename :
char [PATH_MAX] - line :
ulint
Structure result
struct result {
size_t success;
size_t fails;
size_t links;
size_t files_written;
};
Defined in src/core/config.h:28
Members
Structure struct_member
struct struct_member {
char name[ENTITIES_NAME_LENGTH];
entity_type_t type;
};
Defined in src/reader/reader.h:65
Members
- name :
char [ENTITIES_NAME_LENGTH] - type :
entity_type_t
Structure struct_members
struct struct_members {
ulint count;
struct struct_member * array;
};
Defined in src/reader/reader.h:69
Members
- count :
ulint - array :
struct struct_member *
Structure struct_spec
struct struct_spec {
char * description;
reference_t ref;
char name[ENTITIES_NAME_LENGTH];
struct struct_members * members;
};
Defined in src/reader/reader.h:73
Members
- description :
char * - ref :
reference_t - name :
char [ENTITIES_NAME_LENGTH] - members :
struct struct_members *
Structure struct_indic
struct struct_indic {
ulint count;
struct struct_spec * array;
};
Defined in src/reader/reader.h:191
Members
- count :
ulint - array :
struct struct_spec *
Structure source_code_defs
struct source_code_defs {
struct function_indic functions;
struct macro_indic macros;
struct struct_indic structs;
struct typedef_indic typedefs;
struct variables_indic variables;
struct enum_indic enums;
};
Defined in src/reader/reader.h:208
Members
- functions :
struct function_indic - macros :
struct macro_indic - structs :
struct struct_indic - typedefs :
struct typedef_indic - variables :
struct variables_indic - enums :
struct enum_indic
Structure source_code
struct source_code {
struct source_code_impls implementations;
struct source_code_defs definitions;
struct primitives_indic primitives;
};
Defined in src/reader/reader.h:224
Members
- implementations :
struct source_code_impls - definitions :
struct source_code_defs - primitives :
struct primitives_indic
Structure source_code_impls
struct source_code_impls {
struct function_indic functions;
struct macro_indic macros;
struct struct_indic structs;
struct typedef_indic typedefs;
struct enum_indic enums;
};
Defined in src/reader/reader.h:216
Members
- functions :
struct function_indic - macros :
struct macro_indic - structs :
struct struct_indic - typedefs :
struct typedef_indic - enums :
struct enum_indic
Structure status_s
struct status_s {
int in_function;
int is_header;
int reading_function_params;
int reading_multiline_macro;
int reading_multiline_struct;
int reading_multiline_enum;
int reading_multiline_typedef;
int automatic;
unsigned long long int line_count;
void * data;
};
Defined in src/core/core.h:48
Members
- in_function :
int - is_header :
int - reading_function_params :
int - reading_multiline_macro :
int - reading_multiline_struct :
int - reading_multiline_enum :
int - reading_multiline_typedef :
int - automatic :
int - line_count :
unsigned long long int - data :
void *
Structure struct_multiline_status_s
struct struct_multiline_status_s {
char name[ENTITIES_NAME_LENGTH];
ulint starts_on_line;
int reading_members;
int reading_member;
char is_pending;
ulint members_count;
struct struct_spec ** doubleptr;
char ** members_array;
};
Defined in src/core/core.h:75
Note
`char ** member_array` is an array of strings. Temporarily store them as such and compute the types later in `register_structure` call
Members
- name :
char [ENTITIES_NAME_LENGTH] - starts_on_line :
ulint - reading_members :
int - reading_member :
int - is_pending :
char - members_count :
ulint - doubleptr :
struct struct_spec ** - members_array :
char **
Structure typedef_spec
struct typedef_spec {
reference_t ref;
char * buffer;
char * description;
char name[ENTITIES_NAME_LENGTH];
entity_type_t definition;
fnt_modifier modifiers;
char is_function;
};
Defined in src/reader/reader.h:93
Members
- ref :
reference_t - buffer :
char * - description :
char * - name :
char [ENTITIES_NAME_LENGTH] - definition :
entity_type_t - modifiers :
fnt_modifier - is_function :
char
Structure typedef_indic
struct typedef_indic {
ulint count;
struct typedef_spec * array;
};
Defined in src/reader/reader.h:195
Members
- count :
ulint - array :
struct typedef_spec *
Structure typedef_multiline_status_s
struct typedef_multiline_status_s {
ulint starts_on_line;
size_t buffer_size;
unsigned long int buffer_index;
char * buffer;
fnt_modifier modifiers;
unsigned int pending_braces;
};
Defined in src/core/core.h:114
Members
- starts_on_line :
ulint - buffer_size :
size_t - buffer_index :
unsigned long int - buffer :
char * - modifiers :
fnt_modifier - pending_braces :
unsigned int
Structure variables_indic
struct variables_indic {
ulint count;
struct variable * array;
};
Defined in src/reader/reader.h:179
Members
- count :
ulint - array :
struct variable *
Structure variable
struct variable {
reference_t ref;
entity_type_t * type;
char name[ENTITIES_NAME_LENGTH];
};
Defined in src/reader/reader.h:173
Members
- ref :
reference_t - type :
entity_type_t * - name :
char [ENTITIES_NAME_LENGTH]