| 6 |
details. |
details. |
| 7 |
|
|
| 8 |
Function prototypes |
Function prototypes |
| 9 |
$Id: mix3.h,v 1.2 2001/11/06 23:41:58 rabbi Exp $ */ |
$Id: mix3.h,v 1.7 2002/07/24 07:00:16 rabbi Exp $ */ |
| 10 |
|
|
| 11 |
|
|
| 12 |
#ifndef _MIX3_H |
#ifndef _MIX3_H |
| 162 |
int pgpmime_sign(BUFFER *message, BUFFER *uid, BUFFER *pass, char *secring); |
int pgpmime_sign(BUFFER *message, BUFFER *uid, BUFFER *pass, char *secring); |
| 163 |
int mime_attach(BUFFER *message, BUFFER *attachment, BUFFER *type); |
int mime_attach(BUFFER *message, BUFFER *attachment, BUFFER *type); |
| 164 |
void mimedecode(BUFFER *msg); |
void mimedecode(BUFFER *msg); |
| 165 |
|
int qp_decode_message(BUFFER *msg); |
| 166 |
|
|
| 167 |
#define MIME_8BIT 1 /* transport is 8bit */ |
#define MIME_8BIT 1 /* transport is 8bit */ |
| 168 |
#define MIME_7BIT 2 /* transport is 7bit */ |
#define MIME_7BIT 2 /* transport is 7bit */ |
| 212 |
int buf_bfcrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
int buf_bfcrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
| 213 |
int buf_3descrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
int buf_3descrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
| 214 |
int buf_castcrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
int buf_castcrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
| 215 |
|
#ifdef USE_AES |
| 216 |
|
int buf_aescrypt(BUFFER *b, BUFFER *key, BUFFER *iv, int enc); |
| 217 |
|
#endif |
| 218 |
|
|
| 219 |
int db_getseckey(byte keyid[], BUFFER *key); |
int db_getseckey(byte keyid[], BUFFER *key); |
| 220 |
int db_getpubkey(byte keyid[], BUFFER *key); |
int db_getpubkey(byte keyid[], BUFFER *key); |
| 242 |
int idexp(void); |
int idexp(void); |
| 243 |
void pop3get(void); |
void pop3get(void); |
| 244 |
|
|
| 245 |
|
typedef struct { /* added for binary id.log change */ |
| 246 |
|
char id[16]; |
| 247 |
|
long time; |
| 248 |
|
} idlog_t; |
| 249 |
|
|
| 250 |
/* statistics */ |
/* statistics */ |
| 251 |
int stats_log(int); |
int stats_log(int); |
| 252 |
int stats_out(int); |
int stats_out(int); |
| 308 |
|
|
| 309 |
#define CHAINMAX 421 |
#define CHAINMAX 421 |
| 310 |
#define MAXREM 100 |
#define MAXREM 100 |
| 311 |
|
int print_type2list(); |
| 312 |
int mix2_rlist(REMAILER remailer[]); |
int mix2_rlist(REMAILER remailer[]); |
| 313 |
int t1_rlist(REMAILER remailer[]); |
int t1_rlist(REMAILER remailer[]); |
| 314 |
int pgp_rlist(REMAILER remailer[], int n); |
int pgp_rlist(REMAILER remailer[], int n); |
| 397 |
|
|
| 398 |
#endif |
#endif |
| 399 |
|
|
| 400 |
|
#ifdef WIN32 |
| 401 |
|
int is_nt_service(void); |
| 402 |
|
void set_nt_exit_event(); |
| 403 |
|
#endif |
| 404 |
|
|
| 405 |
/* check for memory leaks */ |
/* check for memory leaks */ |
| 406 |
#ifdef DEBUG |
#ifdef DEBUG |
| 407 |
#define malloc mix3_malloc |
#define malloc mix3_malloc |