summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2009-06-05 19:42:34 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2009-06-05 19:42:34 +0000
commitd8e523e6190a7a068ba492d4f689bc9068abb422 (patch)
treefa81e7fc419e03b0b25684cfb37fc9cf05854970
parenta82fa993d1a14707b41f83475c5ad79f213679fc (diff)
Add an unused data field, to allow smtpd and ypldap to work, all lib
ready daemons have NULL diffs now for the imsg files. This field should eventually die a honorable death as it was a design screwup.
-rw-r--r--usr.sbin/ospfd/imsg.h3
-rw-r--r--usr.sbin/relayd/imsg.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/imsg.h b/usr.sbin/ospfd/imsg.h
index d74a45c7260..d700b98c01c 100644
--- a/usr.sbin/ospfd/imsg.h
+++ b/usr.sbin/ospfd/imsg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.h,v 1.2 2009/06/05 19:36:10 pyr Exp $ */
+/* $OpenBSD: imsg.h,v 1.3 2009/06/05 19:42:33 pyr Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -60,6 +60,7 @@ struct imsgbuf {
void (*handler)(int, short, void *);
int fd;
pid_t pid;
+ void *data;
short events;
};
diff --git a/usr.sbin/relayd/imsg.h b/usr.sbin/relayd/imsg.h
index 3c1a3037bd5..e39fcaf928e 100644
--- a/usr.sbin/relayd/imsg.h
+++ b/usr.sbin/relayd/imsg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.h,v 1.6 2009/06/05 19:38:53 pyr Exp $ */
+/* $OpenBSD: imsg.h,v 1.7 2009/06/05 19:42:33 pyr Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -60,6 +60,7 @@ struct imsgbuf {
void (*handler)(int, short, void *);
int fd;
pid_t pid;
+ void *data;
short events;
};