Macros | Functions | Variables
run.h File Reference

Go to the source code of this file.

Macros

#define PATH_SEP_CHAR_STR   "\\"
 
#define SEP_CHARS   ";"
 
#define MAX_ARGS   20
 
#define Trace(x)
 
#define NUM_EXTENSIONS   2
 

Functions

char * pfopen (char *retval, const char *name, const char *dirs)
 
void error (char *fmt,...)
 
void message (char *fmt,...)
 
void Trace_ (char *fmt,...)
 
int get_exec_name_and_path (char *execname, char *execpath)
 
char * my_strtok (char *s, const char *delim, char **lasts)
 
int parse_cmdline_to_arg_array (char *argv[MAX_ARGS], char *cmdline)
 
void strip_exe (char *s)
 
int start_child (char *cmdline, int wait_for_child)
 
void xemacs_special (char *exec)
 
int build_cmdline (char *new_cmdline, char *exec, int argc, char *argv[])
 
void process_execname (char *exec, const char *execname, const char *execpath)
 
int fileExists (char *fullname, const char *path, const char *name)
 
int endsWith (const char *s1, const char *s2)
 
int fileExistsMulti (char *fullname, const char *path, const char *name_noext, const char *exts[], const int extcnt)
 

Variables

const char * exts [NUM_EXTENSIONS] = { "", ".exe" }
 

Macro Definition Documentation

#define MAX_ARGS   20

Definition at line 68 of file run.h.

#define NUM_EXTENSIONS   2

Definition at line 76 of file run.h.

#define PATH_SEP_CHAR_STR   "\\"

Definition at line 62 of file run.h.

#define SEP_CHARS   ";"

Definition at line 63 of file run.h.

#define Trace (   x)

Definition at line 73 of file run.h.

Function Documentation

int build_cmdline ( char *  new_cmdline,
char *  exec,
int  argc,
char *  argv[] 
)
int endsWith ( const char *  s1,
const char *  s2 
)
void error ( char *  fmt,
  ... 
)
int fileExists ( char *  fullname,
const char *  path,
const char *  name 
)
int fileExistsMulti ( char *  fullname,
const char *  path,
const char *  name_noext,
const char *  exts[],
const int  extcnt 
)
int get_exec_name_and_path ( char *  execname,
char *  execpath 
)
void message ( char *  fmt,
  ... 
)
char* my_strtok ( char *  s,
const char *  delim,
char **  lasts 
)
int parse_cmdline_to_arg_array ( char *  argv[MAX_ARGS],
char *  cmdline 
)
char* pfopen ( char *  retval,
const char *  name,
const char *  dirs 
)
void process_execname ( char *  exec,
const char *  execname,
const char *  execpath 
)
int start_child ( char *  cmdline,
int  wait_for_child 
)
void strip_exe ( char *  s)
void Trace_ ( char *  fmt,
  ... 
)
void xemacs_special ( char *  exec)

Variable Documentation

const char* exts[NUM_EXTENSIONS] = { "", ".exe" }

Definition at line 77 of file run.h.