IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 16, 2008, 9:16:26 AM (18 years ago)
Author:
eugene
Message:

adding mmextract and supporting api changes to dbCmdlineField.c functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/avextract.c

    r16936 r19579  
    33int avextract (int argc, char **argv) {
    44 
    5   int i, j, n, m, N, Npts, NPTS, last, Nfields, Nreturn, Ncstack, Nstack;
     5  int i, j, n, m, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack;
    66  int Nsecfilt, mode, VERBOSE;
    77  char **cstack, name[1024];
     
    4848  fields = dbCmdlineFields (argc, argv, DVO_TABLE_AVERAGE, &last, &Nfields);
    4949  if (fields == NULL) return (FALSE);
     50
     51  // examine line for 'where' or 'match to'.  'match to' is forbidden
     52  state = dbCmdlineConditions (argc, argv, last, &next);
     53  if (state == DVO_DB_CMDLINE_ERROR) goto escape;
     54  if (state == DVO_DB_CMDLINE_IS_MATCH) goto escape; // not allowed for mextract
    5055
    5156  // parse the remainder of the line as a boolean math expression
Note: See TracChangeset for help on using the changeset viewer.