Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
inputfile Struct Reference

Data Fields

unsigned int magic
 
char * filename
 
fz_FILEfp
 
bool at_eof
 
struct astring cur_line
 
unsigned int cur_line_pos
 
unsigned int line_num
 
struct astring token
 
struct astring partial
 
datafilename_fn_t datafn
 
bool in_string
 
int string_start_line
 
struct inputfileincluded_from
 

Detailed Description

Definition at line 90 of file inputfile.c.

Field Documentation

◆ at_eof

bool inputfile::at_eof

Definition at line 94 of file inputfile.c.

Referenced by inf_at_eof(), inf_log_str(), inf_sanity_check(), init_zeros(), and read_a_line().

◆ cur_line

struct astring inputfile::cur_line

◆ cur_line_pos

unsigned int inputfile::cur_line_pos

◆ datafn

datafilename_fn_t inputfile::datafn

Definition at line 102 of file inputfile.c.

Referenced by check_include(), inf_from_file(), inf_from_stream(), and init_zeros().

◆ filename

char* inputfile::filename

◆ fp

fz_FILE* inputfile::fp

◆ in_string

bool inputfile::in_string

◆ included_from

struct inputfile* inputfile::included_from

◆ line_num

unsigned int inputfile::line_num

Definition at line 97 of file inputfile.c.

Referenced by get_token_value(), inf_log_str(), init_zeros(), and read_a_line().

◆ magic

unsigned int inputfile::magic

Definition at line 91 of file inputfile.c.

Referenced by inf_close_partial(), inf_sanity_check(), and init_zeros().

◆ partial

struct astring inputfile::partial

Definition at line 99 of file inputfile.c.

Referenced by get_token_value(), inf_close_partial(), and init_zeros().

◆ string_start_line

int inputfile::string_start_line

Definition at line 108 of file inputfile.c.

Referenced by get_token_value(), inf_log_str(), inf_sanity_check(), and init_zeros().

◆ token

struct astring inputfile::token