~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_authentication.h

  • Committer: Brian Aker
  • Date: 2009-03-20 18:52:05 UTC
  • mfrom: (950.1.1 mordred)
  • Revision ID: brian@tangent.org-20090320185205-g7o6kq17r25b6odf
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#ifndef DRIZZLED_PLUGIN_AUTHENTICATION_H
28
28
#define DRIZZLED_PLUGIN_AUTHENTICATION_H
29
29
 
30
 
typedef struct authentication_st
 
30
class Authentication
31
31
{
32
 
  bool (*authenticate)(Session *session, const char *password);
33
 
} authentication_st;
 
32
public:
 
33
  Authentication() {}
 
34
  virtual ~Authentication() {}
 
35
 
 
36
  virtual bool authenticate(Session *, const char *)= 0;
 
37
 
 
38
};
34
39
 
35
40
#endif /* DRIZZLED_PLUGIN_AUTHENTICATION_H */