[dovecot-cvs] dovecot/src/master auth-process.c,1.28,1.29 login-process.c,1.30,1.31 main.c,1.29,1.30 ssl-init.c,1.8,1.9
cras at procontrol.fi
cras at procontrol.fi
Mon Jan 27 03:44:37 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/login auth-connection.c,1.22,1.23 client-authenticate.c,1.34,1.35 client.c,1.29,1.30 client.h,1.14,1.15 main.c,1.15,1.16 master.c,1.13,1.14 ssl-proxy-gnutls.c,1.4,1.5
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index Makefile.am,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv23816/master
Modified Files:
auth-process.c login-process.c main.c ssl-init.c
Log Message:
Removed useless parameters from io_callback_t and timeout_callback_t.
Index: auth-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- auth-process.c 27 Jan 2003 01:33:40 -0000 1.28
+++ auth-process.c 27 Jan 2003 01:44:34 -0000 1.29
@@ -117,8 +117,7 @@
hash_insert(process->requests, POINTER_CAST(req.tag), context);
}
-static void auth_process_input(void *context, int fd __attr_unused__,
- struct io *io __attr_unused__)
+static void auth_process_input(void *context)
{
struct auth_process *p = context;
const unsigned char *data;
@@ -386,8 +385,7 @@
}
static void
-auth_processes_start_missing(void *context __attr_unused__,
- struct timeout *timeout __attr_unused__)
+auth_processes_start_missing(void *context __attr_unused__)
{
struct auth_config *config;
unsigned int count;
Index: login-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- login-process.c 27 Jan 2003 01:33:40 -0000 1.30
+++ login-process.c 27 Jan 2003 01:44:34 -0000 1.31
@@ -100,8 +100,7 @@
oldest_nonlisten_process = p;
}
-static void login_process_input(void *context, int fd __attr_unused__,
- struct io *io __attr_unused__)
+static void login_process_input(void *context)
{
struct login_process *p = context;
struct auth_process *auth_process;
@@ -369,8 +368,7 @@
}
static void
-login_processes_start_missing(void *context __attr_unused__,
- struct timeout *timeout __attr_unused__)
+login_processes_start_missing(void *context __attr_unused__)
{
if (!set_login_process_per_connection) {
/* create max. one process every second, that way if it keeps
Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/main.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- main.c 27 Jan 2003 01:33:40 -0000 1.29
+++ main.c 27 Jan 2003 01:44:34 -0000 1.30
@@ -104,8 +104,7 @@
return NULL;
}
-static void timeout_handler(void *context __attr_unused__,
- struct timeout *timeout __attr_unused__)
+static void timeout_handler(void *context __attr_unused__)
{
const char *process_type_name, *msg;
pid_t pid;
@@ -261,7 +260,7 @@
i_warning("Killed with signal %d", lib_signal_kill);
/* make sure we log if child processes died unexpectedly */
- timeout_handler(NULL, NULL);
+ timeout_handler(NULL);
login_processes_deinit();
auth_processes_deinit();
Index: ssl-init.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/ssl-init.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ssl-init.c 11 Jan 2003 19:55:57 -0000 1.8
+++ ssl-init.c 27 Jan 2003 01:44:34 -0000 1.9
@@ -64,7 +64,7 @@
generating = FALSE;
}
-static void check_parameters_file(void)
+static void check_parameters_file(void *context __attr_unused__)
{
struct stat st;
time_t regen_time;
@@ -94,10 +94,9 @@
generating = FALSE;
/* check every 10 mins */
- to = timeout_add(600*1000,
- (timeout_callback_t)check_parameters_file, NULL);
+ to = timeout_add(600 * 1000, check_parameters_file, NULL);
- check_parameters_file();
+ check_parameters_file(NULL);
}
void ssl_deinit(void)
- Previous message: [dovecot-cvs] dovecot/src/login auth-connection.c,1.22,1.23 client-authenticate.c,1.34,1.35 client.c,1.29,1.30 client.h,1.14,1.15 main.c,1.15,1.16 master.c,1.13,1.14 ssl-proxy-gnutls.c,1.4,1.5
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index Makefile.am,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list