~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Brian Aker
  • Date: 2011-10-20 02:45:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: brian@tangent.org-20111020024557-33gjpv1ixdws52al
Update naming convention for priority.

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/level_t.h>
 
30
#include <drizzled/error/priority_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::level_t priority, char const *format, ...)
 
37
DRIZZLED_API bool errmsg_printf(error::priority_t priority, char const *format, ...)
38
38
  __attribute__((format(printf, 2, 3)));
39
39
 
40
40
DRIZZLED_API void sql_perror(const char *message);