/[imapfilter]/imapfilter/imapfilter.h
ViewVC logotype

Diff of /imapfilter/imapfilter.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by lefcha, Mon Oct 8 08:52:49 2001 UTC revision 1.17 by lefcha, Wed Oct 17 14:06:20 2001 UTC
# Line 13  Line 13 
13  #define ERROR_CONFIG_PARSE              3  #define ERROR_CONFIG_PARSE              3
14  #define ERROR_MEMORY_ALLOCATION         4  #define ERROR_MEMORY_ALLOCATION         4
15  #define ERROR_NETWORK                   5  #define ERROR_NETWORK                   5
16  #define ERROR_UNDEFINED                 6  #define ERROR_SSL                       6
17    #define ERROR_UNDEFINED                 7
18    
19  /* Flags that control the program's options. */  /* Flags that control the program's options. */
20  #define OPTION_DETAILS_QUIET            0x01  #define OPTION_DETAILS_QUIET            0x01
# Line 31  Line 32 
32  #define LOG_ACTION                      5  #define LOG_ACTION                      5
33  #define LOG_DESTINATION_MAILBOX         6  #define LOG_DESTINATION_MAILBOX         6
34    
35  /* Buffer size of the the IMAP command. */  /* Buffer size of the IMAP command. */
36  #define SMALL_CMD                       64  #define SMALL_CMD                       64
37  #define MEDIUM_CMD                      256  #define MEDIUM_CMD                      256
38  #define BIG_CMD                         8192  #define BIG_CMD                         8192
# Line 59  Line 60 
60  #define plural(A)                       ((A) == 1 ? "" : "s")  #define plural(A)                       ((A) == 1 ? "" : "s")
61    
62    
63  /*      connect.c       */  /*      socket.c        */
64    #ifndef SSL_TLS
65  int init_connection(char *serv, unsigned int port);  int init_connection(char *serv, unsigned int port);
66    #else
67    int init_connection(char *serv, unsigned int port, unsigned int protocol);
68    #endif
69    int ssl_init(unsigned int protocol);
70  int close_connection(void);  int close_connection(void);
71    int socket_read(char *buf);
72    int socket_write(char *data);
73    
74  /*      file.c          */  /*      file.c          */
75  int read_config(char *cfg);  int read_config(char *cfg);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26