IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 4:16:26 PM (20 years ago)
Author:
jhoblitt
Message:

compilation fixes
switch to using the metadatadb API

File:
1 edited

Legend:

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

    r5881 r6060  
     1# include <metadatadb.h>
     2
    13# include "p2search.h"
    24
    35int main (int argc, char **argv) {
     6    p2Config        config;
    47
    58    p2adminConfig (&config, argc, argv);
    69
    7     if (config->mode == P2_MODE_CREATE) {
    8         p2deleteTables (config);
     10    if (config.mode == P2_MODE_CREATE) {
     11        p2deleteTables (&config);
    912    }
    1013
    11     if (config->mode == P2_MODE_DELETE) {
    12         p2createTables (config);
     14    if (config.mode == P2_MODE_DELETE) {
     15        p2createTables (&config);
    1316    }
    1417
Note: See TracChangeset for help on using the changeset viewer.