diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-03-08 20:11:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-03-08 20:11:01 +0000 |
commit | 1f733ba0406895feeed445c599dfe32de6b86e1c (patch) | |
tree | 74c98c2570439c19534b01e9454563833cb4af76 /sbin/dhclient/privsep.h | |
parent | d0e5efae60fddbf8f94eec4495662143a78ec069 (diff) |
Shuffle, shuffle, shuffle.
Diffstat (limited to 'sbin/dhclient/privsep.h')
-rw-r--r-- | sbin/dhclient/privsep.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index 7787936a1e2..5baf40bc33a 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.32 2016/09/02 15:44:26 mpi Exp $ */ +/* $OpenBSD: privsep.h,v 1.33 2017/03/08 20:11:00 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -18,14 +18,18 @@ enum imsg_code { IMSG_NONE, + IMSG_HUP, + IMSG_WRITE_OPTION_DB, IMSG_DELETE_ADDRESS, IMSG_ADD_ADDRESS, IMSG_FLUSH_ROUTES, IMSG_ADD_ROUTE, IMSG_SET_INTERFACE_MTU, - IMSG_HUP, - IMSG_WRITE_RESOLV_CONF, - IMSG_WRITE_OPTION_DB + IMSG_WRITE_RESOLV_CONF +}; + +struct imsg_hup { + struct in_addr addr; }; struct imsg_delete_address { @@ -54,19 +58,15 @@ struct imsg_set_interface_mtu { int mtu; }; -struct imsg_hup { - struct in_addr addr; -}; - void dispatch_imsg(struct interface_info *, struct imsgbuf *); +void priv_write_option_db(struct imsg *); +void priv_write_file(char *, int, mode_t, u_int8_t *, size_t); +void priv_cleanup(struct interface_info *, struct imsg_hup *); void priv_delete_address(struct interface_info *, struct imsg_delete_address *); void priv_add_address(struct interface_info *, struct imsg_add_address *); void priv_flush_routes(struct interface_info *, struct imsg_flush_routes *); void priv_add_route(struct interface_info *, struct imsg_add_route *); -void priv_cleanup(struct interface_info *, struct imsg_hup *); void priv_set_interface_mtu(struct interface_info *, struct imsg_set_interface_mtu *); void priv_write_resolv_conf(struct interface_info *, struct imsg *); -void priv_write_option_db(struct imsg *); -void priv_write_file(char *, int, mode_t, u_int8_t *, size_t); |