RTS API Documentation  1.10.11
Data Fields
switch_config Struct Reference

A simple file handle representing an open configuration file. More...

#include <switch_config.h>

+ Collaboration diagram for switch_config:

Data Fields

FILE * file
 
char path [512]
 
char category [256]
 
char section [256]
 
char buf [1024]
 
int lineno
 
int catno
 
int sectno
 
int lockto
 

Detailed Description

A simple file handle representing an open configuration file.

Definition at line 64 of file switch_config.h.

Field Documentation

◆ buf

char switch_config::buf[1024]

buffer of current line being read

Definition at line 74 of file switch_config.h.

◆ category

char switch_config::category[256]

current category

Definition at line 70 of file switch_config.h.

◆ catno

int switch_config::catno

current category number in file

Definition at line 78 of file switch_config.h.

◆ file

FILE* switch_config::file

FILE stream buffer to the opened file

Definition at line 66 of file switch_config.h.

◆ lineno

int switch_config::lineno

current line number in file

Definition at line 76 of file switch_config.h.

◆ lockto

int switch_config::lockto

Definition at line 82 of file switch_config.h.

◆ path

char switch_config::path[512]

path to the file

Definition at line 68 of file switch_config.h.

◆ section

char switch_config::section[256]

current section

Definition at line 72 of file switch_config.h.

◆ sectno

int switch_config::sectno

current section number in file

Definition at line 80 of file switch_config.h.


The documentation for this struct was generated from the following file: