~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
   errmsg_printf()
23
23
*/
24
24
 
 
25
 
 
26
 
25
27
#ifndef DRIZZLED_ERRMSG_PRINT_H
26
28
#define DRIZZLED_ERRMSG_PRINT_H
27
29
 
 
30
#include "drizzled/visibility.h"
 
31
 
28
32
namespace drizzled
29
33
{
30
34
 
33
37
#define ERRMSG_LVL_WARN 3
34
38
#define ERRMSG_LVL_ERROR 4
35
39
 
36
 
bool errmsg_printf(int priority, char const *format, ...)
 
40
DRIZZLED_API bool errmsg_printf(int priority, char const *format, ...)
37
41
  __attribute__((format(printf, 2, 3)));
38
42
 
39
43
void sql_perror(const char *message);