Doxygen Source Code Documentation
afni_plugout.h File Reference
#include "afni.h"#include <ctype.h>#include <unistd.h>Go to the source code of this file.
Functions | |
| void | AFNI_init_plugouts (void) |
| int | AFNI_have_plugouts (void) |
Function Documentation
|
|
Definition at line 29 of file afni_plugout.c. References started.
00029 { return started ; } /* 07 Nov 2001 */
|
|
|
Definition at line 35 of file afni_plugout.c. References AFMALL, AFNI_plugout_exit(), AFNI_plugout_workproc(), atexit(), ENTRY, GLOBAL_argopt, ioc_conname, AF_options::plugout_code, PLUTO_register_workproc(), started, and verbose. Referenced by AFNI_misc_CB(), and MAIN_workprocess().
00036 {
00037 int cc ;
00038
00039 ENTRY("AFNI_init_plugouts") ;
00040
00041 if( started ) EXRETURN ; /* 07 Nov 2001 */
00042
00043 PLUTO_register_workproc( AFNI_plugout_workproc , NULL ) ;
00044 atexit( AFNI_plugout_exit ) ;
00045
00046 verbose = (GLOBAL_argopt.plugout_code & 1) != 0 ;
00047
00048 for( cc=0 ; cc < NUM_TCP_CONTROL ; cc++ ){ /* 21 Nov 2001: */
00049 ioc_control[cc] = NULL ; /* initialize control */
00050 ioc_conname[cc] = AFMALL(char, 32) ; /* sockets and names */
00051 sprintf(ioc_conname[cc],"tcp:*:%d",BASE_TCP_CONTROL+cc) ;
00052 }
00053
00054 started = 1 ; EXRETURN ;
00055 }
|