2 * $Id: subscribe.c 2230 2007-06-06 07:13:20Z anca_vamanu $
4 * rls module - resource list server
6 * Copyright (C) 2007 Voice Sistem S.R.L.
8 * This file is part of Kamailio, a free SIP server.
10 * Kamailio is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version
15 * Kamailio is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 * 2007-09-11 initial version (anca)
29 #ifndef RLS_SUBSCRIBE_H
30 #define RLS_SUBSCRIBE_H
32 #include <libxml/parser.h>
33 #include "../../parser/msg_parser.h"
35 int rls_handle_subscribe0(struct sip_msg* msg);
36 int w_rls_handle_subscribe(struct sip_msg* msg, char* watcher_uri);
37 int rls_handle_subscribe(struct sip_msg* msg, str watcher_user, str watcher_domain);