mswinprt.c File Reference

#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>
Include dependency graph for mswinprt.c:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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().


Function Documentation

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  ) 
void hoc_check_intupt ( int  intupt  ) 

References hCurrWnd.

BOOL hoc_copyfile ( const char *  src,
const char *  dest 
)
void hoc_forward2back ( char *  s  ) 

Referenced by neuronhome_forward().

hoc_Lw (  ) 

References pushx, and ret.

hoc_Plt (  ) 

References pushx, and ret.

hoc_set_unhandled_exception_filter (  ) 

Referenced by hoc_main1().

hoc_Setcolor (  ) 

References pushx, and ret.

hoc_settext (  ) 

References pushx, and ret.

void hoc_win32_cleanup (  ) 

References buf, getenv(), and getpid().

Referenced by hoc_final_exit().

Here is the call graph for this function:

int hoc_win_exec (  ) 

References chkarg(), gargstr(), i, ifarg(), int, pushx, and ret.

Here is the call graph for this function:

hoc_win_normal_cursor (  ) 

References hCurrWnd.

hoc_win_wait_cursor (  ) 

References hCurrWnd.

void hoc_winio_show ( int  b  ) 

References hCurrWnd.

Referenced by hoc_show_winio().

int ncyg_fprintf ( FILE *  stream,
const char *  strFmt,
  ... 
)

References s.

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

Referenced by setneuronhome().

HWND hCurrWnd

Referenced by hoc_stdout().

char* neuron_home

Referenced by hoc_neuronhome(), and setneuronhome().

Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3