00001 /* 00002 * $Id$ 00003 * 00004 * MySQL module interface 00005 * 00006 * Copyright (C) 2001-2003 FhG FOKUS 00007 * Copyright (C) 2006-2007 iptelorg GmbH 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 00031 #ifndef _MY_URI_H 00032 #define _MY_URI_H 00033 00034 #include "../../lib/srdb2/db_uri.h" 00035 #include "../../lib/srdb2/db_drv.h" 00036 00037 struct my_uri { 00038 db_drv_t drv; 00039 char* username; 00040 char* password; 00041 char* host; 00042 unsigned short port; 00043 char* database; 00044 }; 00045 00046 00047 int my_uri(db_uri_t* uri); 00048 00049 00050 #endif /* _MY_URI_H */ 00051
1.7.1