Back to index

tetex-bin  3.0
Classes | Defines | Functions | Variables
rc.h File Reference

Go to the source code of this file.

Classes

struct  vars_st

Defines

#define DIALOGRC   ".dialogrc"
#define VAR_LEN   30
#define COMMENT_LEN   70
#define VAL_INT   0
#define VAL_STR   1
#define VAL_BOOL   2
#define VAL_ATTR   3
#define LINE_BLANK   2
#define LINE_COMMENT   1
#define LINE_OK   0
#define LINE_ERROR   -1
#define VAR_COUNT   (sizeof(vars) / sizeof(vars_st))
#define whitespace(c)   (c == ' ' || c == '\t')
#define isquote(c)   (c == '"' || c == '\'')
#define lastch(str)   str[strlen(str)-1]

Functions

void create_rc (char *filename)
int parse_rc (void)

Variables

vars_st vars []

Class Documentation

struct vars_st

Definition at line 53 of file rc.h.

Class Members
char comment
char name
int type
void * var

Define Documentation

#define COMMENT_LEN   70

Definition at line 24 of file rc.h.

#define DIALOGRC   ".dialogrc"

Definition at line 22 of file rc.h.

#define isquote (   c)    (c == '"' || c == '\'')

Definition at line 45 of file rc.h.

#define lastch (   str)    str[strlen(str)-1]

Definition at line 48 of file rc.h.

#define LINE_BLANK   2

Definition at line 33 of file rc.h.

#define LINE_COMMENT   1

Definition at line 34 of file rc.h.

#define LINE_ERROR   -1

Definition at line 36 of file rc.h.

#define LINE_OK   0

Definition at line 35 of file rc.h.

#define VAL_ATTR   3

Definition at line 30 of file rc.h.

#define VAL_BOOL   2

Definition at line 29 of file rc.h.

#define VAL_INT   0

Definition at line 27 of file rc.h.

#define VAL_STR   1

Definition at line 28 of file rc.h.

#define VAR_COUNT   (sizeof(vars) / sizeof(vars_st))

Definition at line 39 of file rc.h.

#define VAR_LEN   30

Definition at line 23 of file rc.h.

#define whitespace (   c)    (c == ' ' || c == '\t')

Definition at line 252 of file makeinfo.h.


Function Documentation

void create_rc ( char *  filename)

Here is the caller graph for this function:

int parse_rc ( void  )

Here is the caller graph for this function:


Variable Documentation

Definition at line 60 of file rc.h.