00001 /* 00002 * $Id: auth_api.h 2 2006-11-14 22:37:20Z vingarzan $ 00003 * 00004 * Digest Authentication Module 00005 * 00006 * Just the credential finding routines 00007 * 00008 * Copyright (C) 2001-2003 FhG Fokus 00009 * 00010 * This file is part of ser, a free SIP server. 00011 * 00012 * ser is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License as published by 00014 * the Free Software Foundation; either version 2 of the License, or 00015 * (at your option) any later version 00016 * 00017 * For a license to use the ser software under conditions 00018 * other than those described here, or to purchase support for this 00019 * software, please contact iptel.org by e-mail at the following addresses: 00020 * info@iptel.org 00021 * 00022 * ser is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 * GNU General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU General Public License 00028 * along with this program; if not, write to the Free Software 00029 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00030 */ 00031 00042 #ifndef AUTH_API_H 00043 #define AUTH_API_H 00044 00045 00046 #include "../../parser/msg_parser.h" 00047 #include "../../parser/hf.h" 00048 #include "../../str.h" 00049 00050 00051 inline int find_credentials(struct sip_msg* _m, str* _realm, 00052 hdr_types_t _hftype, struct hdr_field** _h); 00053 00054 00055 #endif /* AUTH_API_H */
1.5.2