db_op.h

Go to the documentation of this file.
00001 /* 
00002  * $Id: db_op.h 4518 2008-07-28 15:39:28Z henningw $ 
00003  *
00004  * Copyright (C) 2001-2003 FhG Fokus
00005  * Copyright (C) 2007-2008 1&1 Internet AG
00006  *
00007  * This file is part of Kamailio, a free SIP server.
00008  *
00009  * Kamailio is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version
00013  *
00014  * Kamailio is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License 
00020  * along with this program; if not, write to the Free Software 
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022  */
00023 
00024 /**
00025  * \file db/db_op.h
00026  * \brief Type that represents a expression operator.
00027  * \ingroup db
00028  */
00029 
00030 #ifndef DB_OP_H
00031 #define DB_OP_H
00032 
00033 /** operator less than */
00034 #define OP_LT  "<"
00035 /** operator greater than */
00036 #define OP_GT  ">"
00037 /** operator equal */
00038 #define OP_EQ  "="
00039 /** operator less than equal */
00040 #define OP_LEQ "<="
00041 /** operator greater than equal */
00042 #define OP_GEQ ">="
00043 /** operator negation */
00044 #define OP_NEQ "!="
00045 
00046 
00047 /**
00048  * This type represents an expression operator uses for SQL queries.
00049  */
00050 typedef const char* db_op_t;
00051 
00052 
00053 #endif /* DB_OP_H */

Generated on Mon May 21 20:00:25 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6