#include <../../nrnconf.h>
#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "hoc.h"
#include "../mswin/extra/d2upath.c"
#include <assert.h>
Defines | |
#define | ncyg_fprintf fprintf |
#define | HOCXDOS "lib/nrnsys.sh" |
#define | SEMA1 "tmpdos1.tmp" |
#define | SEMA2 "tmpdos2.tmp" |
Functions | |
char * | expand_env_var () |
double | chkarg () |
setneuronhome (char *p) | |
void | HandleOutput (char *s) |
hoc_set_unhandled_exception_filter () | |
BOOL | hoc_copyfile (const char *src, const char *dest) |
void | nrn_mswindll_stdio (FILE *i, FILE *o, FILE *e) |
int | ncyg_fprintf (FILE *stream, const char *strFmt,...) |
void | hoc_forward2back (char *s) |
char * | hoc_back2forward (char *s) |
void | hoc_win32_cleanup () |
int | hoc_win_exec () |
FILE * | popen (char *s1, char *s2) |
pclose (FILE *p) | |
void | hoc_check_intupt (int intupt) |
int | system (const char *s) |
hoc_win_normal_cursor () | |
hoc_win_wait_cursor () | |
void | hoc_winio_show (int b) |
int | getpid () |
hoc_Plt () | |
hoc_Setcolor () | |
hoc_Lw () | |
hoc_settext () | |
Variables | |
char * | neuron_home |
char * | neuron_home_dos |
HWND | hCurrWnd |
int | bad_install_ok |
FILE * | hoc_redir_stdout |
int | hoc_plttext |
#define HOCXDOS "lib/nrnsys.sh" |
Referenced by system().
#define ncyg_fprintf fprintf |
Referenced by nrn_nvkludge_dummy().
#define SEMA1 "tmpdos1.tmp" |
Referenced by system().
#define SEMA2 "tmpdos2.tmp" |
Referenced by system().
double chkarg | ( | ) |
char* expand_env_var | ( | ) |
int getpid | ( | ) |
Referenced by hoc_pid(), and hoc_win32_cleanup().
void HandleOutput | ( | char * | s | ) |
char* hoc_back2forward | ( | char * | s | ) |
Referenced by hoc_getcwd(), ivoc_get_temp_file(), and neuronhome_forward().
BOOL hoc_copyfile | ( | const char * | src, | |
const char * | dest | |||
) |
void hoc_forward2back | ( | char * | s | ) |
Referenced by neuronhome_forward().
hoc_set_unhandled_exception_filter | ( | ) |
Referenced by hoc_main1().
void hoc_win32_cleanup | ( | ) |
References buf, getenv(), and getpid().
Referenced by hoc_final_exit().
int hoc_win_exec | ( | ) |
hoc_win_normal_cursor | ( | ) |
References hCurrWnd.
hoc_win_wait_cursor | ( | ) |
References hCurrWnd.
References hCurrWnd.
Referenced by hoc_show_winio().
void nrn_mswindll_stdio | ( | FILE* | i, | |
FILE * | o, | |||
FILE * | e | |||
) |
pclose | ( | FILE * | p | ) |
FILE* popen | ( | char * | s1, | |
char * | s2 | |||
) |
setneuronhome | ( | char* | p | ) |
References bad_install_ok, buf, emalloc, getenv(), i, neuron_home, neuron_home_dos, and s.
int system | ( | const char * | s | ) |
References buf, expand_env_var(), fin, hoc_execerror(), HOCXDOS, neuron_home, SEMA1, and SEMA2.
Referenced by hoc_audit_from_hoc_main1(), hoc_final_exit(), hoc_xopen1(), and System().
Referenced by setneuronhome().
HWND hCurrWnd |
Referenced by hoc_check_intupt(), hoc_win_normal_cursor(), hoc_win_wait_cursor(), hoc_winio_show(), and ivocmain().
FILE* hoc_redir_stdout |
Referenced by hoc_stdout().
char* neuron_home |
char* neuron_home_dos |
Referenced by hoc_neuronhome(), and setneuronhome().