~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Brian Aker
  • Date: 2011-09-26 15:02:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2427.
  • Revision ID: brian@tangent.org-20110926150254-zpi0gifzexj2crdt
Wrap thread specfic

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#pragma once
28
28
 
29
29
#include <drizzled/visibility.h>
30
 
#include <drizzled/error/priority_t.h>
 
30
#include <drizzled/error/level_t.h>
31
31
 
32
32
#include <string>
33
33
 
34
34
namespace drizzled
35
35
{
36
36
 
37
 
DRIZZLED_API bool errmsg_printf(error::priority_t priority, char const *format, ...)
 
37
DRIZZLED_API bool errmsg_printf(error::level_t priority, char const *format, ...)
38
38
  __attribute__((format(printf, 2, 3)));
39
39
 
40
40
DRIZZLED_API void sql_perror(const char *message);