group_mod.h

Go to the documentation of this file.
00001 /*
00002  * $Id: group_mod.h 5210 2008-11-17 19:52:43Z henningw $
00003  *
00004  * Copyright (C) 2001-2003 FhG Fokus
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  * History:
00023  * --------
00024  * 2003-02-25 - created by janakj
00025  */
00026 
00027 /**
00028  * \file
00029  * \brief Group membership module
00030  * \ingroup group
00031  * - Module: \ref group
00032  */
00033 
00034 
00035 #ifndef GROUP_MOD_H
00036 #define GROUP_MOD_H
00037 
00038 #include "../../db/db.h"
00039 #include "../../str.h"
00040 #include "../../parser/digest/digest.h" /* auth_body_t */
00041 #include "../../parser/msg_parser.h"    /* struct sip_msg */
00042 
00043 
00044 /*
00045  * Module parameters variables
00046  */
00047 extern str table;           /*!< 'group' table name */
00048 extern str user_column;     /*!< 'user' column name in group table */
00049 extern str domain_column;   /*!< 'domain' column name in group table */
00050 extern str group_column;    /*!< "group' column name in group table */
00051 extern int use_domain;      /*!< Use domain in is_user_in */
00052 
00053 extern str re_table;
00054 extern str re_exp_column;
00055 extern str re_gid_column;
00056 extern int multiple_gid;
00057 
00058 /* DB functions and handlers */
00059 extern db_func_t group_dbf;
00060 extern db_con_t* group_dbh;
00061 
00062 
00063 #endif

Generated on Wed May 23 06:00:45 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6