Initial checkin

This commit is contained in:
Justin Maggard
2008-10-23 17:30:45 +00:00
commit f557f8ea77
46 changed files with 9775 additions and 0 deletions

21
sql.h Normal file
View File

@ -0,0 +1,21 @@
/* Reusable SQLite3 wrapper functions
*
* Project : minidlna
* Website : http://sourceforge.net/projects/minidlna/
* Author : Justin Maggard
* Copyright (c) 2008 Justin Maggard
* This software is subject to the conditions detailed in the
* LICENCE file provided in this distribution.
* */
#ifndef __SQL_H__
#define __SQL_H__
#include <sqlite3.h>
int
sql_exec(sqlite3 * db, const char * sql);
int
sql_get_table(sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrmsg);
#endif