"Fossies" - the Fresh Open Source Software Archive

Member "mairix-0.24/nvptypes.h" (13 Aug 2017, 1253 Bytes) of package /linux/privat/mairix-0.24.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "nvptypes.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 0.23_vs_0.24.

    1 /*
    2   mairix - message index builder and finder for maildir folders.
    3 
    4  **********************************************************************
    5  * Copyright (C) Richard P. Curnow  2006,2007
    6  *
    7  * This program is free software; you can redistribute it and/or modify
    8  * it under the terms of version 2 of the GNU General Public License as
    9  * published by the Free Software Foundation.
   10  *
   11  * This program is distributed in the hope that it will be useful, but
   12  * WITHOUT ANY WARRANTY; without even the implied warranty of
   13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   14  * General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU General Public License along
   17  * 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 #ifndef NVPTYPES_H
   24 #define NVPTYPES_H
   25 
   26 enum nvp_action {
   27   GOT_NAMEVALUE,
   28   GOT_NAMEVALUE_CONT,
   29   GOT_NAMEVALUE_CSET,
   30   GOT_NAMEVALUE_CCONT,
   31   GOT_NAME,
   32   GOT_NAME_TRAILING_SPACE,
   33   GOT_MAJORMINOR,
   34   GOT_TERMINATOR,
   35   GOT_NOTHING
   36 };
   37 
   38 enum nvp_copier {
   39   COPY_TO_NAME,
   40   COPY_TO_MINOR,
   41   COPY_TO_VALUE,
   42   COPY_NOWHERE
   43 };
   44 
   45 #endif