[dovecot-cvs] 
	dovecot/src/imap client.c,1.32,1.33 common.h,1.10,1.11
	main.c,1.39,1.40
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Sat Jul 26 22:22:47 EEST 2003
    
        - Previous message: [dovecot-cvs] 
	dovecot/src/lib-storage/index/mbox mbox-save.c,1.43,1.44
	mbox-storage.c,1.61,1.62
- Next message: [dovecot-cvs] dovecot/src/lib-storage proxy-mail-storage.c,NONE,1.1
	proxy-mail-storage.h,NONE,1.1 proxy-mail.c,NONE,1.1
	proxy-mail.h,NONE,1.1 proxy-mailbox.c,NONE,1.1
	proxy-mailbox.h,NONE,1.1 Makefile.am,1.7,1.8
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv31758
Modified Files:
	client.c common.h main.c 
Log Message:
hook changes
Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- client.c	26 Jul 2003 16:54:29 -0000	1.32
+++ client.c	26 Jul 2003 18:22:44 -0000	1.33
@@ -72,7 +72,7 @@
 	my_client = client;
 
 	if (hook_client_created != NULL)
-		hook_client_created(client);
+		hook_client_created(&client);
 	return client;
 }
 
Index: common.h
===================================================================
RCS file: /home/cvs/dovecot/src/imap/common.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- common.h	26 Jul 2003 16:54:29 -0000	1.10
+++ common.h	26 Jul 2003 18:22:44 -0000	1.11
@@ -21,7 +21,7 @@
 
 extern string_t *capability_string;
 
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
-extern void (*hook_client_created)(struct client *client);
+extern void (*hook_mail_storage_created)(struct mail_storage **storage);
+extern void (*hook_client_created)(struct client **client);
 
 #endif
Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- main.c	26 Jul 2003 16:54:29 -0000	1.39
+++ main.c	26 Jul 2003 18:22:44 -0000	1.40
@@ -29,8 +29,8 @@
 static struct module *modules;
 static char log_prefix[128]; /* syslog() needs this to be permanent */
 
-void (*hook_mail_storage_created)(struct mail_storage *storage) = NULL;
-void (*hook_client_created)(struct client *client) = NULL;
+void (*hook_mail_storage_created)(struct mail_storage **storage) = NULL;
+void (*hook_client_created)(struct client **client) = NULL;
 
 string_t *capability_string;
 
@@ -138,7 +138,7 @@
 	}
 
 	if (hook_mail_storage_created != NULL)
-		hook_mail_storage_created(storage);
+		hook_mail_storage_created(&storage);
 
 	str = getenv("IMAP_MAX_LINE_LENGTH");
 	imap_max_line_length = str != NULL ?
    
    
        
	- Previous message: [dovecot-cvs] 
	dovecot/src/lib-storage/index/mbox mbox-save.c,1.43,1.44
	mbox-storage.c,1.61,1.62
- Next message: [dovecot-cvs] dovecot/src/lib-storage proxy-mail-storage.c,NONE,1.1
	proxy-mail-storage.h,NONE,1.1 proxy-mail.c,NONE,1.1
	proxy-mail.h,NONE,1.1 proxy-mailbox.c,NONE,1.1
	proxy-mailbox.h,NONE,1.1 Makefile.am,1.7,1.8
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the dovecot-cvs
mailing list