talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

etpan-errors.h (1596B)


      1 /*
      2  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
      3  * Copyright (C) 2005-2012 DINH Viet Hoa and the Claws Mail team
      4  *
      5  * This program is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License as published by
      7  * the Free Software Foundation; either version 3 of the License, or
      8  * (at your option) any later version.
      9  *
     10  * This program is distributed in the hope that it will be useful,
     11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13  * GNU General Public License for more details.
     14  *
     15  * You should have received a copy of the GNU General Public License
     16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
     17  *
     18  */
     19 
     20 #ifndef ETPAN_ERRORS_H
     21 
     22 #define ETPAN_ERRORS_H
     23 
     24 enum {
     25   NO_ERROR = 0,
     26   ERROR_CACHE,
     27   ERROR_MEMORY,
     28   ERROR_CONFIG,
     29   ERROR_INVAL,
     30   ERROR_PARSE,
     31   ERROR_MOVE,
     32   ERROR_COPY,
     33   ERROR_MSG_LIST,
     34   ERROR_ENV_LIST,
     35   ERROR_CONNECT, /* 10 */
     36   ERROR_FETCH,
     37   ERROR_APPEND,
     38   ERROR_SEND,
     39   ERROR_NOT_IMPLEMENTED,
     40   ERROR_FILE,
     41   ERROR_TOO_MUCH_RECIPIENT,
     42   ERROR_COMMAND,
     43   ERROR_STREAM,
     44   ERROR_CANCELLED,
     45   ERROR_CREATE, /* 20 */
     46   ERROR_UNKNOWN_PROTOCOL,
     47   ERROR_COULD_NOT_ENCRYPT,
     48   ERROR_CHECK,
     49   ERROR_STATUS,
     50   ERROR_EXPUNGE,
     51   ERROR_MARK_AS_SPAM,
     52   ERROR_BUSY,
     53   ERROR_NEWSGROUPS_LIST,
     54   ERROR_IMAP_MAILBOX_LIST,
     55   ERROR_IMAP_SELECT, /* 30 */
     56   ERROR_IMAP_CREATE,
     57   ERROR_PRIVACY,
     58   ERROR_DIRECTORY_NOT_FOUND,
     59   ERROR_NOT_SUPPORTED,
     60   ERROR_COULD_NOT_POSTPONE,
     61   ERROR_NO_FROM,
     62   ERROR_AUTH,
     63 };
     64 
     65 #endif