Changeset 27845
- Timestamp:
- May 3, 2010, 10:58:11 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPsps.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPsps.c
r27684 r27845 18 18 #include "ippToPsps.h" 19 19 20 extern int ippToPsps_batchTest(IppToPsps *data); 20 21 extern int ippToPsps_batchInit(IppToPsps *data); 21 22 extern int ippToPsps_batchDetection(IppToPsps *data); … … 126 127 typedef enum { 127 128 129 PRODUCT_TEST, 128 130 PRODUCT_INIT, 129 131 PRODUCT_DETECTION, … … 166 168 167 169 if (!tmp) this->product = PRODUCT_UNDEFINED; 170 else if (strcmp(tmp, "test") == 0) this->product = PRODUCT_TEST; 168 171 else if (strcmp(tmp, "init") == 0) this->product = PRODUCT_INIT; 169 172 else if (strcmp(tmp, "det") == 0) this->product = PRODUCT_DETECTION; … … 199 202 switch(this->product) { 200 203 204 case PRODUCT_TEST: 205 this->exitCode = ippToPsps_batchTest(this); 206 break; 201 207 case PRODUCT_INIT: 202 208 this->exitCode = ippToPsps_batchInit(this); … … 266 272 } 267 273 274 if (this->product == PRODUCT_TEST) 275 psStringAppend(&this->configsDir, "/test"); 268 276 if (this->product == PRODUCT_INIT) 269 277 psStringAppend(&this->configsDir, "/init");
Note:
See TracChangeset
for help on using the changeset viewer.
