00001 /* 00002 * $Id$ 00003 * 00004 * Functions that process REGISTER message 00005 * and store data in usrloc 00006 * 00007 * Copyright (C) 2001-2003 FhG Fokus 00008 * 00009 * This file is part of ser, a free SIP server. 00010 * 00011 * ser is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version 00015 * 00016 * For a license to use the ser software under conditions 00017 * other than those described here, or to purchase support for this 00018 * software, please contact iptel.org by e-mail at the following addresses: 00019 * info@iptel.org 00020 * 00021 * ser is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00024 * GNU General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU General Public License 00027 * along with this program; if not, write to the Free Software 00028 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00029 * 00030 * History: 00031 * ------- 00032 * 2003-03-21 save_noreply added, provided by Maxim Sobolev <sobomax@sippysoft.com> (janakj) 00033 */ 00034 00035 00036 #ifndef SAVE_H 00037 #define SAVE_H 00038 00039 00040 #include "../../parser/msg_parser.h" 00041 00042 00043 /* 00044 * Process REGISTER request and save it's contacts 00045 */ 00046 int save(struct sip_msg* _m, char* _t, char* aor_filter); 00047 00048 00049 /* 00050 * Process REGISTER request and save it's contacts, do not send any replies 00051 */ 00052 int save_noreply(struct sip_msg* _m, char* _t, char* aor_filter); 00053 00054 00055 /* 00056 * Process REGISTER request and save it's contacts, do not send any replies 00057 */ 00058 int save_memory(struct sip_msg* _m, char* _t, char* aor_filter); 00059 00060 /* 00061 * Update memory cache only and do not send reply back 00062 */ 00063 int save_mem_nr(struct sip_msg* msg, char* table, char* aor_filter); 00064 00065 #endif /* SAVE_H */
1.7.1