Candl
0.6.1
|
00001 00037 #ifndef CANDL_OPTIONS_H 00038 # define CANDL_OPTIONS_H 00039 00040 # include <stdio.h> 00041 00042 # if defined(__cplusplus) 00043 extern "C" 00044 { 00045 # endif 00046 00047 00052 struct candloptions 00053 { /* OPTIONS FOR DEPENDENCE COMPUTATION */ 00054 int waw; 00055 int raw; 00056 int war; 00057 int rar; 00058 int commute; 00059 int fullcheck; 00060 int depgraph; 00061 int violgraph; 00062 int scalar_renaming; 00063 int scalar_privatization; 00064 int scalar_expansion; 00065 int lastwriter; 00066 int readscop; 00067 int writescop; 00068 int scoptocandl; 00069 int verbose; 00070 /* UNDOCUMENTED OPTIONS FOR THE AUTHOR ONLY */ 00071 int view; 00072 int structure; 00073 int prune_dups; 00074 } ; 00075 typedef struct candloptions CandlOptions; 00076 00077 00078 /****************************************************************************** 00079 * Structure display function * 00080 ******************************************************************************/ 00081 void candl_options_print(FILE *, CandlOptions *); 00082 00083 00084 /****************************************************************************** 00085 * Memory deallocation function * 00086 ******************************************************************************/ 00087 void candl_options_free(CandlOptions *); 00088 00089 00090 /****************************************************************************** 00091 * Reading function * 00092 ******************************************************************************/ 00093 void candl_options_read(int, char **, FILE **, FILE **, CandlOptions **); 00094 00095 00096 /****************************************************************************** 00097 * Processing functions * 00098 ******************************************************************************/ 00099 CandlOptions * candl_options_malloc(void); 00100 00101 00102 #if defined(__cplusplus) 00103 } 00104 #endif 00105 #endif /* define CANDL_OPTIONS_H */