~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg.h

  • Committer: Lee
  • Date: 2008-12-30 20:30:32 UTC
  • mfrom: (755 testable)
  • mto: (758.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: lbieber@lbieber-desktop-20081230203032-efgw9i13f37632qz
merge with latest from the trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
int errmsg_initializer(st_plugin_int *plugin);
29
29
int errmsg_finalizer(st_plugin_int *plugin);
30
30
 
31
 
bool errmsg_vprintf (Session *session, int priority, const char *format, va_list ap);
32
 
bool errmsg_printf (Session *session, int priority, const char *format, ...);
 
31
bool errmsg_vprintf (Session *session, int priority, char const *format, va_list ap);
 
32
 
 
33
// todo: add __attribute__((format(printf, 1, 2)))
 
34
// todo: remove session from declaration, instead reference current_session inside definition
 
35
//       so that places that have not defined Session can still print error messages
 
36
bool errmsg_printf (Session *session, int priority, char const *format, ...);
33
37
 
34
38
#endif /* DRIZZLED_ERRMSG_H */