avpops_parse.h

00001 /*
00002  * $Id$
00003  *
00004  * Copyright (C) 2004-2006 Voice Sistem SRL
00005  *
00006  * This file is part of Kamailio.
00007  *
00008  * Kamailio is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (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  *  2004-10-04  first version (ramona)
00025  */
00026 
00027 
00028 #ifndef _AVPOPS_PARSE_H_
00029 #define _AVPOPS_PARSE_H_
00030 
00031 #include "../../str.h"
00032 #include "../../usr_avp.h"
00033 #include "avpops_impl.h"
00034 #include "avpops_db.h"
00035 
00036 
00037 struct fis_param *avpops_parse_pvar(char *s);
00038 
00039 int   parse_avp_db(char *s, struct db_param *dbp, int allow_scheme);
00040 
00041 int   parse_avp_aliases(char *s, char c1, char c2);
00042 
00043 struct fis_param* parse_intstr_value(char *p, int len);
00044 
00045 int parse_avp_db_scheme(char *s, struct db_scheme *scheme);
00046 
00047 struct fis_param*  parse_check_value(char *s);
00048 
00049 struct fis_param*  parse_op_value(char *s);
00050 
00051 #endif
00052