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

Diff of /imapfilter/data.h

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

revision 1.15 by lefcha, Mon Jan 14 18:12:38 2002 UTC revision 1.16 by lefcha, Tue Jan 29 21:23:41 2002 UTC
# Line 13  Line 13 
13  #define PASSPHRASE_LEN          256  #define PASSPHRASE_LEN          256
14  #define ENCRYPTED_PASSWORD_LEN  128  #define ENCRYPTED_PASSWORD_LEN  128
15    
 /* Maximum passwords the password editor can handle. */  
 #define EDITOR_PASSWORDS_MAX    64  
   
16  /* Attributes of a password. */  /* Attributes of a password. */
17  #define PASSWORD_NONE           0  #define PASSWORD_NONE           0
18  #define PASSWORD_PLAIN          1  #define PASSWORD_PLAIN          1
# Line 122  typedef struct account { Line 119  typedef struct account {
119      unsigned short int port;    /* Port to connect. */      unsigned short int port;    /* Port to connect. */
120    
121      char username[USERNAME_LEN];/* Username. */      char username[USERNAME_LEN];/* Username. */
122      char password[PASSWORD_LEN];/* Password. */      char *password;             /* Password. */
123      int passwdattr;             /* Password attributes. */      int passwdattr;             /* Password attributes. */
124  #ifdef SSL_TLS  #ifdef SSL_TLS
125      unsigned int ssl;           /* Secure Socket Layer support. */      unsigned int ssl;           /* Secure Socket Layer support. */
# Line 205  void link_mbox_filter(filter_t * cf, mbo Line 202  void link_mbox_filter(filter_t * cf, mbo
202    
203  void destroy_data(void);  void destroy_data(void);
204  void destroy_mboxgrp(mboxgrp_t * node);  void destroy_mboxgrp(mboxgrp_t * node);
 void overwrite_passwords(void);  
205    
206  void string_upper(char *str, size_t size);  void string_upper(char *str, size_t size);
207  int string_decode(char *str);  int string_decode(char *str);

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26