00001 /* 00002 * 00003 * Header file for permissions MI functions 00004 * 00005 * Copyright (C) 2006 Juha Heinanen 00006 * 00007 * This file is part of Kamailio, a free SIP server. 00008 * 00009 * Kamailio is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version 00013 * 00014 * Kamailio is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 00025 #ifndef _PERMISSIONS_MI_H_ 00026 #define _PERMISSIONS_MI_H_ 00027 00028 00029 #include "../../mi/mi.h" 00030 00031 00032 #define MI_TRUSTED_RELOAD "trusted_reload" 00033 #define MI_TRUSTED_DUMP "trusted_dump" 00034 00035 #define MI_ADDRESS_RELOAD "address_reload" 00036 #define MI_ADDRESS_DUMP "address_dump" 00037 #define MI_SUBNET_DUMP "subnet_dump" 00038 00039 #define MI_ALLOW_URI "allow_uri" 00040 00041 struct mi_root* mi_trusted_reload(struct mi_root *cmd, void *param); 00042 00043 struct mi_root* mi_trusted_dump(struct mi_root *cmd, void *param); 00044 00045 struct mi_root* mi_address_reload(struct mi_root *cmd, void *param); 00046 00047 struct mi_root* mi_address_dump(struct mi_root *cmd, void *param); 00048 00049 struct mi_root* mi_subnet_dump(struct mi_root *cmd_tree, void *param); 00050 00051 struct mi_root* mi_allow_uri(struct mi_root *cmd, void *param); 00052 00053 #endif
1.5.6