Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

afni_environ.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002    Major portions of this software are copyrighted by the Medical College
00003    of Wisconsin, 1994-2000, and are released under the Gnu General Public
00004    License, Version 2.  See the file README.Copyright for details.
00005 ******************************************************************************/
00006    
00007 #ifndef _AFNI_ENVIRON_HEADER_
00008 #define _AFNI_ENVIRON_HEADER_
00009 
00010 extern void AFNI_process_environ( char * ) ;
00011 extern char * AFNI_suck_file( char * ) ;
00012 extern char * my_getenv( char * ) ;
00013 extern void AFNI_mark_environ_done(void) ;  /* 16 Apr 2000 */
00014 extern int AFNI_yesenv( char * ) ;          /* 21 Jun 2000 */
00015 extern int AFNI_noenv ( char * ) ;          /* 21 Jun 2000 */
00016 extern double AFNI_numenv( char * ) ;       /* 23 Aug 2003 */
00017 
00018 extern int AFNI_setenv( char *cmd ) ;       /* 22 Jan 2003 */
00019 
00020 /*-- 22 May 2000: macros for checking for Yes or No --*/
00021 
00022 #define YSTART(cp) \
00023   ( (cp) != NULL && ( (cp)[0] == 'y' || (cp)[0] == 'Y' ) )
00024 
00025 #define NSTART(cp) \
00026   ( (cp) != NULL && ( (cp)[0] == 'n' || (cp)[0] == 'N' ) )
00027 
00028 /** 21 Jun 2000: look for Yes or No **/
00029 
00030 #define YESSISH(ss) ( (ss)!=NULL && ( (ss)[0]=='Y' || (ss)[0]=='y' ) )
00031 #define NOISH(ss)   ( (ss)!=NULL && ( (ss)[0]=='N' || (ss)[0]=='n' ) )
00032 
00033 #endif /* _AFNI_ENVIRON_HEADER_ */
 

Powered by Plone

This site conforms to the following standards: