/[pkg-mixmaster]/trunk/Mix/Src/mix3.h
ViewVC logotype

Diff of /trunk/Mix/Src/mix3.h

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

revision 11 by rabbi, Tue Nov 6 23:41:58 2001 UTC revision 101 by rabbi, Wed Jul 24 07:00:16 2002 UTC
# Line 6  Line 6 
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
# Line 162  int attachfile(BUFFER *message, BUFFER * Line 162  int attachfile(BUFFER *message, BUFFER *
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 */
# Line 211  int buf_ideacrypt(BUFFER *b, BUFFER *key Line 212  int buf_ideacrypt(BUFFER *b, BUFFER *key
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);
# Line 238  void pool_packetexp(void); Line 242  void pool_packetexp(void);
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);
# Line 299  typedef struct { Line 308  typedef struct {
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);
# Line 387  int closesocket(SOCKET s); Line 397  int closesocket(SOCKET s);
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

Legend:
Removed from v.11  
changed lines
  Added in v.101

  ViewVC Help
Powered by ViewVC 1.1.5