Freeciv-3.3: inputfile Struct Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Fields
inputfile Struct Reference

## Data Fields

unsigned int | magic
char * | filename
fz_FILE * | fp
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 inputfile * | included_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.

## ◆ cur_line

struct astring inputfile::cur_line

Definition at line 95 of file inputfile.c.

## ◆ cur_line_pos

unsigned int inputfile::cur_line_pos

Definition at line 96 of file inputfile.c.

## ◆ datafn

datafilename_fn_t inputfile::datafn

Definition at line 102 of file inputfile.c.

Referenced by inf_from_file(), and inf_from_stream().

## ◆ filename

char* inputfile::filename

Definition at line 92 of file inputfile.c.

Referenced by inf_from_file().

## ◆ fp

fz_FILE* inputfile::fp

Definition at line 93 of file inputfile.c.

Referenced by inf_from_file().

## ◆ in_string

bool inputfile::in_string

Definition at line 105 of file inputfile.c.

## ◆ included_from

struct inputfile* inputfile::included_from

Definition at line 110 of file inputfile.c.

Referenced by read_a_line().

## ◆ line_num

unsigned int inputfile::line_num

Definition at line 97 of file inputfile.c.

## ◆ magic

unsigned int inputfile::magic

Definition at line 91 of file inputfile.c.

## ◆ partial

struct astring inputfile::partial

Definition at line 99 of file inputfile.c.

## ◆ string_start_line

int inputfile::string_start_line

Definition at line 108 of file inputfile.c.

## ◆ token

struct astring inputfile::token

Definition at line 98 of file inputfile.c.