[Asterisk-cvs] asterisk-addons mysql-vm-routines.h,1.2,1.3
markster at lists.digium.com
markster at lists.digium.com
Tue Jan 27 09:37:53 CST 2004
Update of /usr/cvsroot/asterisk-addons
In directory mongoose.digium.com:/tmp/cvs-serv24908
Modified Files:
mysql-vm-routines.h
Log Message:
Allow mysql routines to be used without vm routines
Index: mysql-vm-routines.h
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/mysql-vm-routines.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mysql-vm-routines.h 5 Nov 2003 05:42:40 -0000 1.2
+++ mysql-vm-routines.h 27 Jan 2004 15:29:54 -0000 1.3
@@ -29,6 +29,7 @@
mysql_close(dbhandler);
}
+#ifdef USESQLVM
static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox)
{
MYSQL_RES *result;
@@ -101,7 +102,6 @@
}
return(NULL);
}
-
static void vm_change_password(struct ast_vm_user *vmu, char *password)
{
char query[400];
@@ -130,6 +130,7 @@
mysql_query(dbhandler, query);
ast_mutex_unlock(&mysqllock);
}
+#endif
static int sql_init(void)
{
More information about the svn-commits
mailing list