Changeset 18336 for trunk/ippTools/src/camtoolConfig.c
- Timestamp:
- Jun 26, 2008, 3:39:54 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/camtoolConfig.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/camtoolConfig.c
r18172 r18336 49 49 psMetadata *definebydefinebyqueryArgs = psMetadataAlloc(); 50 50 // XXX need to allow multiple chip_ids 51 psMetadataAddS tr(definebydefinebyqueryArgs, PS_LIST_TAIL, "-chip_id", 0,52 "search by chip_id", NULL);51 psMetadataAddS64(definebydefinebyqueryArgs, PS_LIST_TAIL, "-chip_id", 0, 52 "search by chip_id", 0); 53 53 // XXX need to allow multiple exp_ids 54 psMetadataAddS tr(definebydefinebyqueryArgs, PS_LIST_TAIL, "-exp_id", 0,55 "search by exp_id", NULL);54 psMetadataAddS64(definebydefinebyqueryArgs, PS_LIST_TAIL, "-exp_id", 0, 55 "search by exp_id", 0); 56 56 psMetadataAddStr(definebydefinebyqueryArgs, PS_LIST_TAIL, "-exp_name", 0, 57 57 "search by exp_name", NULL); … … 148 148 psMetadata *updaterunArgs = psMetadataAlloc(); 149 149 // XXX need to allow multiple cam_ids 150 psMetadataAddS tr(updaterunArgs, PS_LIST_TAIL, "-cam_id", 0,151 "search by cam_id", NULL);150 psMetadataAddS64(updaterunArgs, PS_LIST_TAIL, "-cam_id", 0, 151 "search by cam_id", 0); 152 152 // XXX need to allow multiple chip_ids 153 psMetadataAddS tr(updaterunArgs, PS_LIST_TAIL, "-chip_id", 0,154 "search by chip_id", NULL);153 psMetadataAddS64(updaterunArgs, PS_LIST_TAIL, "-chip_id", 0, 154 "search by chip_id", 0); 155 155 // XXX need to allow multiple exp_ids 156 psMetadataAddS tr(updaterunArgs, PS_LIST_TAIL, "-exp_id", 0,157 "search by exp_id", NULL);156 psMetadataAddS64(updaterunArgs, PS_LIST_TAIL, "-exp_id", 0, 157 "search by exp_id", 0); 158 158 psMetadataAddStr(updaterunArgs, PS_LIST_TAIL, "-exp_name", 0, 159 159 "search by exp_name", NULL); … … 241 241 // -pendingexp 242 242 psMetadata *pendingexpArgs = psMetadataAlloc(); 243 psMetadataAddS tr(pendingexpArgs, PS_LIST_TAIL, "-cam_id", 0,244 "search by camtool ID", NULL);245 psMetadataAddS tr(pendingexpArgs, PS_LIST_TAIL, "-chip_id", 0,246 "search by chiptool ID", NULL);243 psMetadataAddS64(pendingexpArgs, PS_LIST_TAIL, "-cam_id", 0, 244 "search by camtool ID", 0); 245 psMetadataAddS64(pendingexpArgs, PS_LIST_TAIL, "-chip_id", 0, 246 "search by chiptool ID", 0); 247 247 psMetadataAddU64(pendingexpArgs, PS_LIST_TAIL, "-limit", 0, 248 248 "limit result set to N items", 0); … … 253 253 // -pendingimfile 254 254 psMetadata *pendingimfileArgs = psMetadataAlloc(); 255 psMetadataAddS tr(pendingimfileArgs, PS_LIST_TAIL, "-cam_id", 0,256 "search by camtool ID", NULL);257 psMetadataAddS tr(pendingimfileArgs, PS_LIST_TAIL, "-chip_id", 0,258 "search by chiptool ID", NULL);255 psMetadataAddS64(pendingimfileArgs, PS_LIST_TAIL, "-cam_id", 0, 256 "search by camtool ID", 0); 257 psMetadataAddS64(pendingimfileArgs, PS_LIST_TAIL, "-chip_id", 0, 258 "search by chiptool ID", 0); 259 259 psMetadataAddStr(pendingimfileArgs, PS_LIST_TAIL, "-class", 0, 260 260 "search by class", NULL); … … 267 267 // -addprocessedexp 268 268 psMetadata *addprocessedexpArgs = psMetadataAlloc(); 269 psMetadataAddS tr(addprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0,270 "define camtool ID (required)", NULL);269 psMetadataAddS64(addprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0, 270 "define camtool ID (required)", 0); 271 271 psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-uri", 0, 272 272 "define URI (required)", NULL); … … 328 328 // -processedexp 329 329 psMetadata *processedexpArgs = psMetadataAlloc(); 330 psMetadataAddS tr(processedexpArgs, PS_LIST_TAIL, "-cam_id", 0,331 "search by camtool ID", NULL);332 psMetadataAddS tr(processedexpArgs, PS_LIST_TAIL, "-chip_id", 0,333 "search by chiptool ID", NULL);330 psMetadataAddS64(processedexpArgs, PS_LIST_TAIL, "-cam_id", 0, 331 "search by camtool ID", 0); 332 psMetadataAddS64(processedexpArgs, PS_LIST_TAIL, "-chip_id", 0, 333 "search by chiptool ID", 0); 334 334 psMetadataAddU64(processedexpArgs, PS_LIST_TAIL, "-limit", 0, 335 335 "limit result set to N items", 0); … … 342 342 psMetadata *revertprocessedexpArgs = psMetadataAlloc(); 343 343 // XXX need to allow multiple cam_ids 344 psMetadataAddS tr(revertprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0,345 "search by cam_id", NULL);344 psMetadataAddS64(revertprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0, 345 "search by cam_id", 0); 346 346 // XXX need to allow multiple chip_ids 347 psMetadataAddS tr(revertprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0,348 "search by chip_id", NULL);347 psMetadataAddS64(revertprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0, 348 "search by chip_id", 0); 349 349 // XXX need to allow multiple exp_ids 350 psMetadataAddS tr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_id", 0,351 "search by exp_id", NULL);350 psMetadataAddS64(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_id", 0, 351 "search by exp_id", 0); 352 352 psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_name", 0, 353 353 "search by exp_name", NULL); … … 433 433 // -updateprocessedexp 434 434 psMetadata *updateprocessedexpArgs = psMetadataAlloc(); 435 psMetadataAddS tr(updateprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0,436 "search by camtool ID", NULL);437 psMetadataAddS tr(updateprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0,438 "search by chiptool ID", NULL);435 psMetadataAddS64(updateprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0, 436 "search by camtool ID", 0); 437 psMetadataAddS64(updateprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0, 438 "search by chiptool ID", 0); 439 439 psMetadataAddStr(updateprocessedexpArgs, PS_LIST_TAIL, "-class", 0, 440 440 "search by class", NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
