nvptypes.h 1.22 KB
Newer Older
1 2 3 4
/*
  mairix - message index builder and finder for maildir folders.

 **********************************************************************
5
 * Copyright (C) Richard P. Curnow  2006,2007
6 7 8 9 10 11 12 13 14 15 16 17
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
18
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 20 21 22
 *
 **********************************************************************
 */

23 24 25 26 27
#ifndef NVPTYPES_H
#define NVPTYPES_H

enum nvp_action {
  GOT_NAMEVALUE,
28
  GOT_NAMEVALUE_CONT,
Peter Jeremy's avatar
Peter Jeremy committed
29
  GOT_NAMEVALUE_CSET,
30
  GOT_NAMEVALUE_CCONT,
31
  GOT_NAME,
32
  GOT_NAME_TRAILING_SPACE,
33 34 35 36 37 38 39 40 41 42 43 44 45
  GOT_MAJORMINOR,
  GOT_TERMINATOR,
  GOT_NOTHING
};

enum nvp_copier {
  COPY_TO_NAME,
  COPY_TO_MINOR,
  COPY_TO_VALUE,
  COPY_NOWHERE
};

#endif