00001 /* 00002 * soi_args.h ~CM/include/soi_args.h 00003 * 00004 * Argument declarations for modules 00005 * 00006 * Responsible: Rick Bogart RBogart@solar.Stanford.EDU 00007 * 00008 * Bugs: 00009 * There are no unsigned fixed-point types for arguments 00010 * 00011 * Revision history is at the end of the file. 00012 */ 00013 00014 #ifndef __ARGS_DECLARED__ 00015 00016 /****************************************************************************/ 00017 /**************************** DEFINE STATEMENTS ***************************/ 00018 /****************************************************************************/ 00019 00020 #define __ARGS_DECLARED__ 00021 /* kinds of module arguments */ 00022 #define ARG_END (0) 00023 /* 1 formerly assigned to ARG_DATASET; replaced with ARG_DATA_IN/OUT */ 00024 #define ARG_OBSOLETE (1) 00025 #define ARG_DATASET (1) /* replaced with ARG_DATA_IN/OUT */ 00026 #define ARG_FLAG (2) 00027 #define ARG_TIME (3) 00028 #define ARG_INT (4) 00029 #define ARG_FLOAT (5) 00030 #define ARG_STRING (6) 00031 #define ARG_FILEPTR (7) 00032 #define ARG_DATA_IN (8) 00033 #define ARG_DATA_OUT (9) 00034 #define ARG_INTS (14) 00035 #define ARG_FLOATS (15) 00036 #define ARG_NUME (24) 00037 00038 /****************************************************************************/ 00039 /******************************* TYPEDEFS *********************************/ 00040 /****************************************************************************/ 00041 00042 /* form of entry in table of arguments needed by strategy level function */ 00043 typedef struct ARG { 00044 int kind; 00045 char *key; 00046 char *default_value; 00047 char *range; 00048 char *description; 00049 } argument; 00050 00051 #endif 00052 00053 /* 00054 * Revision History 00055 * 01.07.24 Rick Bogart created this file; removed the declarations 00056 * from module.h in order to make them accessible to 00057 * the sds library 00058 */