~patrick-crews/drizzle/dbqp_bug710942

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Lee Bieber
  • Date: 2011-01-28 21:08:33 UTC
  • mfrom: (2119.4.3 try-visibility)
  • Revision ID: kalebral@gmail.com-20110128210833-nro17n81etdpcylm
Merge Monty - Enable -fvisibility=hidden

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);