~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_authentication.h

  • Committer: Monty Taylor
  • Date: 2008-08-16 21:06:22 UTC
  • Revision ID: monty@inaugust.com-20080816210622-zpnn13unyinqzn72
Updated po files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 
 
4
 
 *  Definitions required for Authentication plugin
5
 
 
6
 
 *
7
 
 *  Copyright (C) 2008 Brian Aker
8
 
 *
9
 
 *  This program is free software; you can redistribute it and/or modify
10
 
 *  it under the terms of the GNU General Public License as published by
11
 
 *  the Free Software Foundation; version 2 of the License.
12
 
 *
13
 
 *  This program is distributed in the hope that it will be useful,
14
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 *  GNU General Public License for more details.
17
 
 *
18
 
 *  You should have received a copy of the GNU General Public License
19
 
 *  along with this program; if not, write to the Free Software
20
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
 
 */
22
 
 
23
1
/*
24
 
  Definitions required for Authentication plugin
 
2
  Definitions required for Authentication plugin 
25
3
*/
26
4
 
27
5
#ifndef DRIZZLED_PLUGIN_AUTHENTICATION_H
29
7
 
30
8
typedef struct authentication_st
31
9
{
32
 
  bool (*authenticate)(Session *session, const char *password);
 
10
  bool (*authenticate)(THD *thd, const char *password);
33
11
} authentication_st;
34
12
 
35
13
#endif /* DRIZZLED_PLUGIN_AUTHENTICATION_H */