Changeset 6091
- Timestamp:
- Jan 20, 2006, 3:56:52 PM (21 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxadmin.c
r6068 r6091 8 8 p2adminConfig (&config, argc, argv); 9 9 10 if (config.mode == P2_MODE_CREATE) { 11 p2createTables (&config); 12 } 13 14 if (config.mode == P2_MODE_DELETE) { 15 p2deleteTables (&config); 10 switch (config.mode) { 11 case P2_MODE_CREATE: 12 p2createTables (&config); 13 break; 14 case P2_MODE_DELETE: 15 p2deleteTables (&config); 16 break; 17 case P2_MODE_RECREATE: 18 p2deleteTables (&config); 19 p2createTables (&config); 20 break; 21 default: 22 psAbort (argv[0], "invalid option (this should not happen)"); 16 23 } 17 24 -
trunk/ippTools/src/pxtools.h
r6063 r6091 24 24 P2_MODE_CREATE, // set the current state 25 25 P2_MODE_DELETE, // set the current state 26 P2_MODE_RECREATE, // set the current state 26 27 } p2mode; 27 28
Note:
See TracChangeset
for help on using the changeset viewer.
