IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2006, 6:08:56 PM (20 years ago)
Author:
jhoblitt
Message:

merge p0/2 types -> pxMode/pxConfig
add initial p0 support: p0search, p0 tables, p0 funcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxadminConfig.c

    r6210 r6261  
    1919
    2020    int N;
    21     config->mode = P2_MODE_NONE;
     21    config->mode = PX_MODE_NONE;
    2222    if ((N = psArgumentGet(argc, argv, "-create"))) {
    2323        psArgumentRemove(N, &argc, argv);
     
    2525            psAbort(argv[0], "only one mode selection is allowed");
    2626        }
    27         config->mode = P2_MODE_CREATE;
     27        config->mode = PX_MODE_CREATE;
    2828    }
    2929    if ((N = psArgumentGet(argc, argv, "-delete"))) {
     
    3232            psAbort(argv[0], "only one mode selection is allowed");
    3333        }
    34         config->mode = P2_MODE_DELETE;
     34        config->mode = PX_MODE_DELETE;
    3535    }
    3636    if ((N = psArgumentGet(argc, argv, "-recreate"))) {
     
    3939            psAbort(argv[0], "only one mode selection is allowed");
    4040        }
    41         config->mode = P2_MODE_RECREATE;
     41        config->mode = PX_MODE_RECREATE;
    4242    }
    4343
     
    5050            "delete and recreate the P2 tables", "");
    5151
    52     if (config->mode == P2_MODE_NONE) {
     52    if (config->mode == PX_MODE_NONE) {
    5353        fprintf (stderr, "admin mode not specified\n");
    5454        psArgumentHelp(config->arguments);
Note: See TracChangeset for help on using the changeset viewer.