1224006Shrs/*- 2224006Shrs * Copyright (C) 2011 Hiroki Sato <hrs@FreeBSD.org> 3224006Shrs * All rights reserved. 4224006Shrs * 5224006Shrs * Redistribution and use in source and binary forms, with or without 6224006Shrs * modification, are permitted provided that the following conditions 7224006Shrs * are met: 8224006Shrs * 1. Redistributions of source code must retain the above copyright 9224006Shrs * notice, this list of conditions and the following disclaimer. 10224006Shrs * 2. Redistributions in binary form must reproduce the above copyright 11224006Shrs * notice, this list of conditions and the following disclaimer in the 12224006Shrs * documentation and/or other materials provided with the distribution. 13224006Shrs * 14224006Shrs * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 15224006Shrs * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16224006Shrs * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17224006Shrs * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS 18224006Shrs * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19224006Shrs * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20224006Shrs * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 21224006Shrs * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 22224006Shrs * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23224006Shrs * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24224006Shrs * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25224006Shrs * 26224006Shrs * $FreeBSD: releng/10.3/usr.sbin/rtadvd/control_server.h 225519 2011-09-12 23:52:55Z hrs $ 27224006Shrs * 28224006Shrs */ 29224006Shrs 30225519Shrsint cm_getprop(struct ctrl_msg_pl *); 31225519Shrsint cm_setprop(struct ctrl_msg_pl *); 32224006Shrs 33225519Shrsint cm_handler_server(int); 34224006Shrs 35224006Shrsvoid set_do_reload(int); 36224144Shrsvoid set_do_reload_ifname(char *); 37224144Shrsvoid set_do_shutdown(int); 38224006Shrsvoid reset_do_reload(void); 39224144Shrsvoid reset_do_shutdown(void); 40224144Shrsint is_do_reload(void); 41224144Shrschar *reload_ifname(void); 42224144Shrsint is_do_shutdown(void); 43