* Fix a crash bug when generating a friendly name if the hostname does not contain a dot. * Implement folder browsing by media type. * Add initial DLNA-compliant music album art support. (Using a <=160x160 cover.jpg, or folder.jpg, etc)
		
			
				
	
	
		
			22 lines
		
	
	
		
			508 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			508 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* 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);
 | |
| 
 | |
| #endif
 |