imapfilter.h (imapfilter-2.7.5) | : | imapfilter.h (imapfilter-2.7.6) | ||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
#define ERROR_CERTIFICATE 5 | #define ERROR_CERTIFICATE 5 | |||
/* IMAP protocol supported by the server. */ | /* IMAP protocol supported by the server. */ | |||
#define PROTOCOL_NONE 0 | #define PROTOCOL_NONE 0 | |||
#define PROTOCOL_IMAP4REV1 1 | #define PROTOCOL_IMAP4REV1 1 | |||
#define PROTOCOL_IMAP4 2 | #define PROTOCOL_IMAP4 2 | |||
/* Capabilities of mail server. */ | /* Capabilities of mail server. */ | |||
#define CAPABILITY_NONE 0x00 | #define CAPABILITY_NONE 0x00 | |||
#define CAPABILITY_NAMESPACE 0x01 | #define CAPABILITY_NAMESPACE 0x01 | |||
#define CAPABILITY_CRAMMD5 0x02 | #define CAPABILITY_STARTTLS 0x02 | |||
#define CAPABILITY_STARTTLS 0x04 | #define CAPABILITY_CHILDREN 0x04 | |||
#define CAPABILITY_CHILDREN 0x08 | #define CAPABILITY_IDLE 0x08 | |||
#define CAPABILITY_IDLE 0x10 | #define CAPABILITY_XOAUTH2 0x10 | |||
#define CAPABILITY_XOAUTH2 0x20 | ||||
/* Status responses and response codes. */ | /* Status responses and response codes. */ | |||
#define STATUS_NONE 0 | #define STATUS_NONE 0 | |||
#define STATUS_OK 1 | #define STATUS_OK 1 | |||
#define STATUS_NO 2 | #define STATUS_NO 2 | |||
#define STATUS_BAD 3 | #define STATUS_BAD 3 | |||
#define STATUS_UNTAGGED 4 | #define STATUS_UNTAGGED 4 | |||
#define STATUS_CONTINUE 5 | #define STATUS_CONTINUE 5 | |||
#define STATUS_BYE 6 | #define STATUS_BYE 6 | |||
#define STATUS_PREAUTH 7 | #define STATUS_PREAUTH 7 | |||
skipping to change at line 84 | skipping to change at line 83 | |||
char *debug; /* Debug file. */ | char *debug; /* Debug file. */ | |||
char *truststore; /* CA TrustStore. */ | char *truststore; /* CA TrustStore. */ | |||
} options; | } options; | |||
/* Environment variables. */ | /* Environment variables. */ | |||
typedef struct environment { | typedef struct environment { | |||
char *home; /* Program's home directory. */ | char *home; /* Program's home directory. */ | |||
long pathmax; /* Maximum pathname. */ | long pathmax; /* Maximum pathname. */ | |||
} environment; | } environment; | |||
/* auth.c */ | ||||
unsigned char *auth_cram_md5(const char *user, const char *pass, | ||||
unsigned char *chal); | ||||
/* cert.c */ | /* cert.c */ | |||
int get_cert(session *ssn); | int get_cert(session *ssn); | |||
/* core.c */ | /* core.c */ | |||
LUALIB_API int luaopen_ifcore(lua_State *lua); | LUALIB_API int luaopen_ifcore(lua_State *lua); | |||
/* file.c */ | /* file.c */ | |||
void create_homedir(void); | void create_homedir(void); | |||
int exists_file(char *fname); | int exists_file(char *fname); | |||
int exists_dir(char *fname); | int exists_dir(char *fname); | |||
End of changes. 2 change blocks. | ||||
9 lines changed or deleted | 4 lines changed or added |