00001 /* 00002 * module.h ~soi/(version)/include/module.h 00003 * 00004 * Data structures used in 4-level model for SSSC compute modules, described 00005 * in "Programming in the SOI Analysis Environment", SOI TN-93-107. 00006 * Levels are: use (interface), strategy, function, and library (support). 00007 * 00008 * Responsible: Kay Leibrand KLeibrand@solar.Stanford.EDU 00009 * 00010 * Bugs: 00011 * There are no unsigned fixed-point types for arguments 00012 * 00013 * Revision history is at the end of the file. 00014 */ 00015 #ifndef __MODULE_TYPES__ 00016 00017 /****************************************************************************/ 00018 /************************** INCLUDE STATEMENTS ****************************/ 00019 /****************************************************************************/ 00020 00021 #include "soi_version.h" 00022 #include "soi_args.h" 00023 #include "soi_sds.h" 00024 //#include "soi_fun.h" 00025 #include "soi_names.h" 00026 #include "soi_error.h" 00027 #include "timeio.h" 00028 #include "soi_vds.h" 00029 00030 /****************************************************************************/ 00031 /**************************** DEFINE STATEMENTS ***************************/ 00032 /****************************************************************************/ 00033 00034 #define MODULE_ERROR (-1) 00035 #define MODULE_OK (0) 00036 00037 #define MODULES_VERSION_NUM (4.8) 00038 #define __MODULE_TYPES__ 00039 00040 /****************************************************************************/ 00041 /********************* GLOBAL & EXTERN DECLARATIONS ***********************/ 00042 /****************************************************************************/ 00043 00044 //extern int (*DoIt)(); //old. now in jsoc_main.h 00045 /* table of arguments needed by strategy level function */ 00046 extern argument arguments[]; 00047 /* table of arguments created by strategy level function */ 00048 extern argument outarguments[]; 00049 00050 #endif 00051 /* 00052 * Revision History 00053 * V 0.0 93.02.26 Kay Leibrand created this file 00054 * 93.04.17 Rick Bogart include soi_sds and soi_fun 00055 * 93.06.07 K Leibrand added outarguments 00056 * V 0.7 93.08.13 R Bogart include soi_names & 00057 * soi_error; soi_key included by soi_names 00058 * 93.09.10 R Bogart defined version number 00059 * 94.02.07 K Leibrand modified argument struct to 00060 * put kind first, added DATASET types for IN and OUT, 00061 * V 0.8 94.02.08 K Leibrand defined version number 00062 * 94.09.02 Jim Aloise Replace ARG_DATASET with 00063 * ARG_DATA_IN and ARG_DATA_OUT 00064 * v 0.9 94.11.14 R Bogart V 0.9 00065 * v 1.0 95.01.30 R Bogart include soi_time.h; updated version # 00066 * 95.09.25 R Bogart include soi_vds.h 00067 * v 4.5 99.11.11 R Bogart added arg types for pointers 00068 * 99.12.13 R Bogart changed ARG struct member names from 00069 * minvalid & maxvalid to range and description 00070 * v 4.8 00.06.16 R Bogart added arg type nume for menus (enum) 00071 * 01.07.24 R Bogart removed argument declarations to new 00072 * include files soi_args.h 00073 */ 00074 00075 /* 00076 $Id: module.h,v 1.1 2009/04/24 21:50:44 production Exp $ 00077 $Source: /home/cvsuser/cvsroot/JSOC/proj/jpe/apps/module.h,v $ 00078 $Author: production $ 00079 * $Log: module.h,v $ 00080 * Revision 1.1 2009/04/24 21:50:44 production 00081 * *** empty log message *** 00082 * 00083 * Revision 1.13 2007/05/04 21:13:19 rick 00084 * changed soi_time.h to timeio.h 00085 * 00086 * Revision 1.12 2001/07/24 23:15:57 rick 00087 * see above 00088 * 00089 * Revision 1.11 2001/04/11 19:02:41 rick 00090 * see above 00091 * 00092 * Revision 1.10 1999/12/14 00:12:22 rick 00093 * see above 00094 * 00095 * Revision 1.9 1999/11/18 01:03:43 rick 00096 * see above 00097 * 00098 * Revision 1.8 1997/04/16 21:47:07 kehcheng 00099 * added #include <soi_version.h> 00100 * 00101 * Revision 1.7 1995/09/25 15:38:03 rick 00102 * include soi_vds.h 00103 * 00104 * Revision 1.6 1995/08/28 18:38:08 kay 00105 * no change 00106 * 00107 * Revision 1.5 1995/01/30 22:41:31 rick 00108 * included soi_time.h 00109 * 00110 * Revision 1.4 1994/11/14 23:12:02 rick 00111 * version 0.9 00112 * 00113 * Revision 1.3 1994/09/12 22:59:27 jim 00114 * added ARG_DATA_IN and OUT 00115 * 00116 * Revision 1.2 1994/09/02 17:50:39 jim 00117 * Replace ARG_DATASET with ARG_DATA_IN and ARG_DATA_OUT 00118 * 00119 * Revision 1.1 1994/02/16 23:21:14 CM 00120 * Initial revision 00121 * */