/[imapfilter]/imapfilter/account.c
ViewVC logotype

Diff of /imapfilter/account.c

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

revision 1.9 by lefcha, Fri Feb 13 12:17:15 2004 UTC revision 1.11 by lefcha, Fri Feb 13 23:44:50 2004 UTC
# Line 3  Line 3 
3  #include <string.h>  #include <string.h>
4  #include <ctype.h>  #include <ctype.h>
5  #include <limits.h>  #include <limits.h>
6  #include <sys/types.h>          /* IEEE Std 1003.1-2001 transitional. */  #include <sys/types.h>          /* For POSIX.1-2001 non-conformant systems. */
7  #include <regex.h>  #include <regex.h>
8    
9  #include "config.h"  #include "config.h"
# Line 38  int string_decode(char *str); Line 38  int string_decode(char *str);
38  void  void
39  init_account(account_t * a)  init_account(account_t * a)
40  {  {
41    
42          a->next = NULL;          a->next = NULL;
43          a->key[0] = '\0';          a->key[0] = '\0';
44          a->server[0] = '\0';          a->server[0] = '\0';
# Line 155  find_password(char *user, char *serv) Line 156  find_password(char *user, char *serv)
156  void  void
157  init_mboxgrp(mboxgrp_t * g)  init_mboxgrp(mboxgrp_t * g)
158  {  {
159    
160          g->left = g->right = NULL;          g->left = g->right = NULL;
161          g->key[0] = '\0';          g->key[0] = '\0';
162          g->mboxes[0] = NULL;          g->mboxes[0] = NULL;
# Line 224  process_mboxgrp(mboxgrp_t * g, char *mbo Line 226  process_mboxgrp(mboxgrp_t * g, char *mbo
226  void  void
227  init_mbox(mbox_t * m)  init_mbox(mbox_t * m)
228  {  {
229    
230          m->next = NULL;          m->next = NULL;
231          m->name[0] = '\0';          m->name[0] = '\0';
232          m->filters[0] = NULL;          m->filters[0] = NULL;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26