p_usrloc/ul_mi.h

Go to the documentation of this file.
00001 /*
00002  * $Id: ul_mi.h 5194 2008-11-13 10:38:11Z henningw $
00003  *
00004  * Copyright (C) 2006 Voice Sistem SRL
00005  *
00006  * This file is part of Kamailio, a free SIP server.
00007  *
00008  * Kamailio is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version
00012  *
00013  * Kamailio is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License 
00019  * along with this program; if not, write to the Free Software 
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  */
00022 
00029 #ifndef _USRLOC_MI_H_
00030 #define _USRLOC_MI_H_
00031 
00032 #include "../../lib/kmi/mi.h"
00033 
00034 #define MI_USRLOC_RM           "ul_rm"
00035 #define MI_USRLOC_RM_CONTACT   "ul_rm_contact"
00036 #define MI_USRLOC_DUMP         "ul_dump"
00037 #define MI_USRLOC_FLUSH        "ul_flush"
00038 #define MI_USRLOC_ADD          "ul_add"
00039 #define MI_USRLOC_SHOW_CONTACT "ul_show_contact"
00040 
00041 
00049 struct mi_root* mi_usrloc_rm_aor(struct mi_root *cmd, void *param);
00050 
00051 
00059 struct mi_root* mi_usrloc_rm_contact(struct mi_root *cmd, void *param);
00060 
00061 
00068 struct mi_root* mi_usrloc_dump(struct mi_root *cmd, void *param);
00069 
00070 
00077 struct mi_root* mi_usrloc_flush(struct mi_root *cmd, void *param);
00078 
00079 
00088 struct mi_root* mi_usrloc_add(struct mi_root *cmd, void *param);
00089 
00090 
00098 struct mi_root* mi_usrloc_show_contact(struct mi_root *cmd, void *param);
00099 
00100 
00101 #endif