~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.h

  • Committer: Tim Penhey
  • Date: 2010-01-31 16:51:07 UTC
  • mfrom: (1271.8.1 errors-in-hash-map)
  • mto: This revision was merged to the branch mainline in revision 1348.
  • Revision ID: tim@penhey.net-20100131165107-gxwbfdbr51qmkzw7
Merge Monty's fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#define MY_FILE_ERROR   ((size_t) -1)
31
31
#define ME_FATALERROR   1024    /* Fatal statement error */
32
32
 
 
33
#ifdef __cplusplus
 
34
extern "C"
 
35
{
 
36
#endif
 
37
 
33
38
typedef void (*error_handler_func)(uint32_t my_err, const char *str,myf MyFlags);
34
39
extern error_handler_func error_handler_hook;
35
40
 
45
50
void my_printf_error(uint32_t my_err, const char *format,
46
51
                     myf MyFlags, ...)
47
52
                     __attribute__((format(printf, 2, 4)));
 
53
#ifdef __cplusplus
 
54
}
 
55
#endif
48
56
 
49
57
#endif /* DRIZZLED_ERROR_H */