1*c17e6018SMatthew Dillon /*-
2*c17e6018SMatthew Dillon  * Copyright (C) 2011 Hiroki Sato <hrs@FreeBSD.org>
3*c17e6018SMatthew Dillon  * All rights reserved.
4*c17e6018SMatthew Dillon  *
5*c17e6018SMatthew Dillon  * Redistribution and use in source and binary forms, with or without
6*c17e6018SMatthew Dillon  * modification, are permitted provided that the following conditions
7*c17e6018SMatthew Dillon  * are met:
8*c17e6018SMatthew Dillon  * 1. Redistributions of source code must retain the above copyright
9*c17e6018SMatthew Dillon  *    notice, this list of conditions and the following disclaimer.
10*c17e6018SMatthew Dillon  * 2. Redistributions in binary form must reproduce the above copyright
11*c17e6018SMatthew Dillon  *    notice, this list of conditions and the following disclaimer in the
12*c17e6018SMatthew Dillon  *    documentation and/or other materials provided with the distribution.
13*c17e6018SMatthew Dillon  *
14*c17e6018SMatthew Dillon  * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
15*c17e6018SMatthew Dillon  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*c17e6018SMatthew Dillon  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17*c17e6018SMatthew Dillon  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS
18*c17e6018SMatthew Dillon  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19*c17e6018SMatthew Dillon  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20*c17e6018SMatthew Dillon  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
21*c17e6018SMatthew Dillon  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22*c17e6018SMatthew Dillon  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23*c17e6018SMatthew Dillon  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24*c17e6018SMatthew Dillon  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*c17e6018SMatthew Dillon  *
26*c17e6018SMatthew Dillon  * $FreeBSD: stable/10/usr.sbin/rtadvd/control_server.h 225519 2011-09-12 23:52:55Z hrs $
27*c17e6018SMatthew Dillon  *
28*c17e6018SMatthew Dillon  */
29*c17e6018SMatthew Dillon 
30*c17e6018SMatthew Dillon int	cm_getprop(struct ctrl_msg_pl *);
31*c17e6018SMatthew Dillon int	cm_setprop(struct ctrl_msg_pl *);
32*c17e6018SMatthew Dillon 
33*c17e6018SMatthew Dillon int	cm_handler_server(int);
34*c17e6018SMatthew Dillon 
35*c17e6018SMatthew Dillon void	set_do_reload(int);
36*c17e6018SMatthew Dillon void	set_do_reload_ifname(char *);
37*c17e6018SMatthew Dillon void	set_do_shutdown(int);
38*c17e6018SMatthew Dillon void	reset_do_reload(void);
39*c17e6018SMatthew Dillon void	reset_do_shutdown(void);
40*c17e6018SMatthew Dillon int	is_do_reload(void);
41*c17e6018SMatthew Dillon char	*reload_ifname(void);
42*c17e6018SMatthew Dillon int	is_do_shutdown(void);
43