~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Jay Pipes
  • Date: 2008-08-06 01:14:33 UTC
  • mto: (264.1.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: jay@mysql.com-20080806011433-hd347xjpi0jsf2ca
* Ensured all drizzled/field/x.cc files to include mysql_priv.h
* Remove all includes from drizzled/field/x.h files
* pull connect and show function declarations out into separate
  header files
* More cleanup of mysql_priv.h including removing all conditional
  includes
* Modified all plugins to ensure MYSQL_SERVER is not defined and
  that they include the proper drizzled/common_includes.h and not
  the full mysql_priv.h
* Multiple comments to mark TODO items...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
  Sections of this where taken/modified from mod_auth_path for Apache 
3
3
*/
4
 
 
5
 
#define MYSQL_SERVER 1
6
 
#include <drizzled/mysql_priv.h>
7
 
#include <stdlib.h>
8
 
#include <ctype.h>
9
 
#include <drizzled/plugin.h>
 
4
#include <drizzled/common_includes.h>
10
5
#include <drizzled/plugin_authentication.h>
11
6
#include <security/pam_appl.h>
12
7
#include <security/pam_misc.h>
13
8
 
14
 
 
15
9
typedef struct {
16
10
    const char *name;
17
11
    const char *password;