#include <../../nrnconf.h>
#include <stdio.h>
#include <stdlib.h>
#include "hoc.h"
#include "hocstr.h"
#include "hoclist.h"
#include "parse.h"
#include <setjmp.h>
#include <errno.h>
Defines | |
#define | oc_popen popen |
#define | oc_pclose pclose |
Functions | |
double | chkarg () |
char ** | hoc_pgargstr () |
char * | expand_env_var () |
int | hoc_stdout () |
int | ropen () |
int | wopen () |
char * | expand_env_var (char *s) |
char * | hoc_current_xopen () |
int | hoc_xopen1 (char *fname, char *rcs) |
xopen () | |
Fprint () | |
PRintf () | |
hoc_Sprint () | |
double | hoc_scan (FILE *fi) |
int | Fscan () |
int | hoc_Getstr () |
int | sprint (char **ppbuf, int argn) |
hoc_load_java () | |
hoc_load_proc () | |
hoc_load_func () | |
hoc_load_template () | |
hoc_load_file () | |
hoc_Load_file (int always, char *name) | |
hoc_getcwd () | |
machine_name () | |
int | hoc_chdir (char *path) |
hoc_Chdir () | |
Variables | |
FILE * | fin |
int | pipeflag |
jmp_buf | begin |
double | hoc_ac_ |
char * | neuron_home |
FILE * | frin |
FILE * | fout |
char | hoc_xopen_file_ [200] |
Pfri | p_hoc_load_java |
#define oc_pclose pclose |
#define oc_popen popen |
double chkarg | ( | ) |
char* expand_env_var | ( | char* | s | ) |
References begin, buf, HocStr::buf, getenv(), hocstr_create(), hocstr_resize(), n, and neuron_home.
char* expand_env_var | ( | ) |
Referenced by hoc_chdir(), hoc_Load_file(), hoc_nrn_load_dll(), hoc_xopen1(), OcFile::open(), ropen(), system(), and wopen().
Fprint | ( | ) |
int Fscan | ( | ) |
hoc_Chdir | ( | ) |
int hoc_chdir | ( | char* | path | ) |
References expand_env_var().
Referenced by hoc_Chdir(), and hoc_Load_file().
char* hoc_current_xopen | ( | ) |
hoc_getcwd | ( | ) |
References emalloc, hoc_back2forward(), hoc_execerror(), hoc_pushstr(), and hoc_ret().
int hoc_Getstr | ( | ) |
References HocStr::buf, buf, chkarg(), execerror, fgets_unlimited(), fin, frin, hoc_assign_str(), hoc_pgargstr(), hoc_tmpbuf, ifarg(), int, pushx, and ret.
hoc_Load_file | ( | int | always, | |
char* | name | |||
) |
References b, expand_env_var(), getenv(), hoc_ac_, hoc_chdir(), hoc_l_lappendstr(), hoc_l_newlist(), hoc_oc(), hoc_warning(), i, int, ITERATE, and STR.
Referenced by hoc_load_file().
hoc_load_file | ( | ) |
References chkarg(), gargstr(), hoc_is_double_arg(), hoc_Load_file(), hoc_lookup(), i, ifarg(), int, pushx, and ret.
char** hoc_pgargstr | ( | ) |
hoc_Sprint | ( | ) |
References buf, hoc_assign_str(), hoc_pgargstr(), pushx, ret, and sprint.
int hoc_stdout | ( | ) |
References gargstr(), hoc_execerror(), hoc_redir_stdout, i, ifarg(), prev(), pushx, and ret.
int hoc_xopen1 | ( | char* | fname, | |
char* | rcs | |||
) |
References ERRCHK, execerror, expand_env_var(), fin, hoc_audit_from_xopen1(), hoc_execerror(), hoc_lineno, hoc_retrieving_audit(), hoc_xopen_from_audit(), hoc_xopen_run(), IGNORE, pipeflag, Sprintf, and system().
Referenced by xopen().
machine_name | ( | ) |
References hoc_assign_str(), hoc_pgargstr(), pushx, and ret.
PRintf | ( | ) |
int ropen | ( | ) |
References HocStr::buf, gargstr(), getarg(), hoc_argtype(), hoc_is_object_arg(), hoc_object_name(), hoc_objgetarg(), hocstr_create(), hocstr_resize(), n, and Sprintf.
int wopen | ( | ) |
xopen | ( | ) |
References gargstr(), hoc_xopen1(), ifarg(), pushx, and ret.
jmp_buf begin |
FILE* fin |
FILE* fout |
FILE* frin |
double hoc_ac_ |
char hoc_xopen_file_[200] |
char* neuron_home |
Referenced by expand_env_var(), getenv(), hoc_neuronhome(), ivocmain(), neuronhome_forward(), setneuronhome(), and system().