[dovecot-cvs] dovecot/src/master auth-process.c,1.24,1.25 auth-process.h,1.6,1.7 ssl-init.c,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Sat Jan 11 21:55:59 EET 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv27659/master

Modified Files:
	auth-process.c auth-process.h ssl-init.c 
Log Message:
Naming change for function typedefs.



Index: auth-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- auth-process.c	8 Jan 2003 21:13:05 -0000	1.24
+++ auth-process.c	11 Jan 2003 19:55:57 -0000	1.25
@@ -37,7 +37,7 @@
         struct waiting_request *next;
 	unsigned int id;
 
-	AuthCallback callback;
+	auth_callback_t callback;
 	void *context;
 };
 
@@ -47,7 +47,7 @@
 static void auth_process_destroy(struct auth_process *p);
 
 static void push_request(struct auth_process *process, unsigned int id,
-			 AuthCallback callback, void *context)
+			 auth_callback_t callback, void *context)
 {
 	struct waiting_request *req;
 
@@ -310,7 +310,7 @@
 void auth_process_request(unsigned int login_pid,
 			  struct auth_process *process, unsigned int id,
 			  unsigned char cookie[AUTH_COOKIE_SIZE],
-			  AuthCallback callback, void *context)
+			  auth_callback_t callback, void *context)
 {
 	struct auth_cookie_request_data req;
 

Index: auth-process.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/auth-process.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- auth-process.h	5 Jan 2003 13:09:53 -0000	1.6
+++ auth-process.h	11 Jan 2003 19:55:57 -0000	1.7
@@ -2,8 +2,8 @@
 #define __AUTH_PROCESS_H
 
 /* cookie_reply is NULL if some error occured */
-typedef void (*AuthCallback)(struct auth_cookie_reply_data *cookie_reply,
-			     void *context);
+typedef void (*auth_callback_t)(struct auth_cookie_reply_data *cookie_reply,
+				void *context);
 
 /* Find process for given id */
 struct auth_process *auth_process_find(unsigned int id);
@@ -12,7 +12,7 @@
 void auth_process_request(unsigned int login_pid,
 			  struct auth_process *process, unsigned int id,
 			  unsigned char cookie[AUTH_COOKIE_SIZE],
-			  AuthCallback callback, void *context);
+			  auth_callback_t callback, void *context);
 
 /* Close any fds used by auth processes */
 void auth_processes_destroy_all(void);

Index: ssl-init.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/ssl-init.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ssl-init.c	5 Jan 2003 13:09:53 -0000	1.7
+++ ssl-init.c	11 Jan 2003 19:55:57 -0000	1.8
@@ -94,7 +94,8 @@
 	generating = FALSE;
 
 	/* check every 10 mins */
-	to = timeout_add(600*1000, (TimeoutFunc) check_parameters_file, NULL);
+	to = timeout_add(600*1000,
+			 (timeout_callback_t)check_parameters_file, NULL);
 
 	check_parameters_file();
 }




More information about the dovecot-cvs mailing list