Modification log added
[mediadatabase.git] / libfrontend / error.h
blob6c3e0fd0f4d00afcc4a105c1d29c332363bd4c03
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * $Id: error.h,v 1.2 2004/05/21 23:42:49 nedko Exp $
6 * DESCRIPTION:
7 * Mediadatabase error handling public declarations.
9 * AUTHOR:
10 * Nedko Arnaudov <nedko@users.sourceforge.net>
12 * LICENSE:
13 * GNU GENERAL PUBLIC LICENSE version 2
15 *****************************************************************************/
17 #ifndef ERROR_H__A25D2F88_F133_41C2_9D56_5617108A7D26__INCLUDED
18 #define ERROR_H__A25D2F88_F133_41C2_9D56_5617108A7D26__INCLUDED
20 #define MEDIADB_ERROR_CRITICAL 1
21 #define MEDIADB_ERROR_NONCRITICAL 2
23 void
24 mediadb_error_callback(
25 unsigned int nCritical,
26 const char *pszErrorDescription
29 void
30 mediadb_error_printf(
31 unsigned int nCritical,
32 const char *pszFormat,
33 ...);
35 #endif /* #ifndef ERROR_H__A25D2F88_F133_41C2_9D56_5617108A7D26__INCLUDED */
37 /*****************************************************************************
39 * Modifications log:
41 * !!! WARNING !!! Following lines are automatically updated by the CVS system.
43 * $Log: error.h,v $
44 * Revision 1.2 2004/05/21 23:42:49 nedko
45 * mediadb_error_callback() now tells if error is critical.
47 * Revision 1.1 2004/05/16 19:01:17 nedko
48 * libfrontend holds code common to frontends but not in libdb.
50 *****************************************************************************/