blob: f9136678911fc0523c800c0f3e78bb692f5b6592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************/
/*! \file muggle_tools.h
* \brief A few util functions for standalone and plugin messaging
* for the vdr muggle plugindatabase
********************************************************************
* \version $Revision: 1.2 $
* \date $Date: 2004/02/02 22:48:04 $
* \author Ralf Klueber, Lars von Wedel, Andreas Kellner
* \author file owner: $Author: MountainMan $
*
*/
/*******************************************************************/
/* makes sur we dont use parse the same declarations twice */
#ifndef _MUGGLE_TOOLS_H
#define _MUGGLE_TOOLS_H
#include "mysql/mysql.h"
#define STANDALONE 1
void mgSetDebugLevel(int new_level);
void mgDebug(int level, const char *fmt, ...);
void mgDebug( const char *fmt, ... );
void mgWarning(const char *fmt, ...);
void mgError(const char *fmt, ...);
MYSQL_RES* mgSqlReadQuery(MYSQL *db, const char *fmt, ...);
void mgSqlWriteQuery(MYSQL *db, const char *fmt, ...);
/* -------------------- begin CVS log ---------------------------------
* $Log: mg_tools.h,v $
* Revision 1.2 2004/02/02 22:48:04 MountainMan
* added CVS $Log
*
*
* --------------------- end CVS log ----------------------------------
*/
#endif /* _MUGGLE_TOOLS_H */
|