~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_authentication.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 01:02:23 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321010223-j8cph7eeyt1u3xol
Fixed function object to ensure it correctly returns a boolean type since
memcmp returns an integer. Added some more comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 
 
4
 *  Definitions required for Authentication plugin
 
5
 
3
6
 *
4
7
 *  Copyright (C) 2008 Brian Aker
5
8
 *
26
29
 
27
30
typedef struct authentication_st
28
31
{
29
 
  bool (*authenticate)(THD *thd, const char *password);
 
32
  bool (*authenticate)(Session *session, const char *password);
30
33
} authentication_st;
31
34
 
32
35
#endif /* DRIZZLED_PLUGIN_AUTHENTICATION_H */