PIPS
tpips-local.h File Reference

Go to the source code of this file.

Data Structures

struct  res_or_rule
 Storage for arguments of tpips commands. More...
 

Macros

#define TPIPS_PRIMARY_PROMPT   "tpips> " /**prompt for readline */
 
#define TPIPS_REQUEST_PROMPT   "tpips-request> "
 
#define TPIPS_SECONDARY_PROMPT   "> "
 
#define TPIPS_CONTINUATION_CHAR   '\\'
 
#define TPIPS_HISTENV   "TPIPS_HISTORY" /**history file env variable */
 
#define TPIPS_HISTORY_LENGTH   100 /**max length of history file */
 
#define TPIPS_COMMENT_PREFIX   '#' /**comment prefix */
 
#define TPIPS_HISTORY   ".tpips.history" /**default history file */
 
#define SHELL_ESCAPE   "shell" /**! used for history reference */
 
#define CHANGE_DIR   "cd"
 
#define TPIPS_SOURCE   "source"
 
#define SET_ENV   "setenv"
 
#define GET_ENV   "getenv"
 
#define SET_PROP   "setproperty"
 
#define GET_PROP   "getproperty"
 
#define QUIT   "quit"
 
#define HELP   "help"
 
#define ECHO_N   "echo"
 macro ECHO is reserved by flex More...
 
#define skip_blanks(str)    while (*str && (*str==' ' || *str=='\t' || *str=='\n')) str++
 

Functions

int tp_lex ()
 
int tp_parse ()
 
void tp_error ()
 
void tp_init_lex ()
 
void tp_begin_key ()
 
void tp_begin_fname ()
 

Variables

FILE * tp_in
 
bool tpips_execution_mode
 Sometimes, already included by unistd.h. More...
 
bool tpips_is_interactive
 
bool jpips_is_running
 
bool tpips_init_done
 variable globale, utilisee par le parser helas More...
 

Macro Definition Documentation

◆ CHANGE_DIR

#define CHANGE_DIR   "cd"

Definition at line 57 of file tpips-local.h.

◆ ECHO_N

#define ECHO_N   "echo"

macro ECHO is reserved by flex

Definition at line 69 of file tpips-local.h.

◆ GET_ENV

#define GET_ENV   "getenv"

Definition at line 61 of file tpips-local.h.

◆ GET_PROP

#define GET_PROP   "getproperty"

Definition at line 64 of file tpips-local.h.

◆ HELP

#define HELP   "help"

Definition at line 67 of file tpips-local.h.

◆ QUIT

#define QUIT   "quit"

Definition at line 66 of file tpips-local.h.

◆ SET_ENV

#define SET_ENV   "setenv"

Definition at line 60 of file tpips-local.h.

◆ SET_PROP

#define SET_PROP   "setproperty"

Definition at line 63 of file tpips-local.h.

◆ SHELL_ESCAPE

#define SHELL_ESCAPE   "shell" /**! used for history reference */

Definition at line 56 of file tpips-local.h.

◆ skip_blanks

#define skip_blanks (   str)     while (*str && (*str==' ' || *str=='\t' || *str=='\n')) str++

Definition at line 71 of file tpips-local.h.

◆ TPIPS_COMMENT_PREFIX

#define TPIPS_COMMENT_PREFIX   '#' /**comment prefix */

Definition at line 53 of file tpips-local.h.

◆ TPIPS_CONTINUATION_CHAR

#define TPIPS_CONTINUATION_CHAR   '\\'

Definition at line 49 of file tpips-local.h.

◆ TPIPS_HISTENV

#define TPIPS_HISTENV   "TPIPS_HISTORY" /**history file env variable */

Definition at line 51 of file tpips-local.h.

◆ TPIPS_HISTORY

#define TPIPS_HISTORY   ".tpips.history" /**default history file */

Definition at line 54 of file tpips-local.h.

◆ TPIPS_HISTORY_LENGTH

#define TPIPS_HISTORY_LENGTH   100 /**max length of history file */

Definition at line 52 of file tpips-local.h.

◆ TPIPS_PRIMARY_PROMPT

#define TPIPS_PRIMARY_PROMPT   "tpips> " /**prompt for readline */

Definition at line 46 of file tpips-local.h.

◆ TPIPS_REQUEST_PROMPT

#define TPIPS_REQUEST_PROMPT   "tpips-request> "

Definition at line 47 of file tpips-local.h.

◆ TPIPS_SECONDARY_PROMPT

#define TPIPS_SECONDARY_PROMPT   "> "

Definition at line 48 of file tpips-local.h.

◆ TPIPS_SOURCE

#define TPIPS_SOURCE   "source"

Definition at line 58 of file tpips-local.h.

Function Documentation

◆ tp_begin_fname()

void tp_begin_fname ( )

◆ tp_begin_key()

void tp_begin_key ( )

◆ tp_error()

void tp_error ( )

◆ tp_init_lex()

void tp_init_lex ( )

Referenced by handle().

+ Here is the caller graph for this function:

◆ tp_lex()

int tp_lex ( )

◆ tp_parse()

int tp_parse ( )

Variable Documentation

◆ jpips_is_running

bool jpips_is_running
extern

Definition at line 97 of file tpips.h.

Referenced by display_a_resource(), and tp_some_info().

◆ tp_in

FILE * tp_in
extern

Definition at line 128 of file tpips.h.

Referenced by tpips_exec().

◆ tpips_execution_mode

bool tpips_execution_mode
extern

Sometimes, already included by unistd.h.

cproto-generated files

Definition at line 64 of file tpips.c.

◆ tpips_init_done

bool tpips_init_done
extern

variable globale, utilisee par le parser helas

Definition at line 111 of file tpips.h.

Referenced by process_file_list().

◆ tpips_is_interactive

bool tpips_is_interactive
extern

Definition at line 90 of file tpips.h.

Referenced by process_file_list(), and tp_system().