~mordred/drizzle/codestyle

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Monty
  • Date: 2008-10-02 17:30:12 UTC
  • mfrom: (139.1.20 drizzle)
  • Revision ID: mordred@scylla.inaugust.com-20081002173012-s13psynpc19bt0i6
MergedĀ fromĀ Trond.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include <drizzled/server_includes.h>
7
7
#include <drizzled/plugin_authentication.h>
8
8
#include <security/pam_appl.h>
 
9
#ifndef __sun
9
10
#include <security/pam_misc.h>
 
11
#endif
10
12
 
11
13
typedef struct {
12
14
    const char *name;
14
16
} auth_pam_userinfo;
15
17
 
16
18
static int auth_pam_talker(int num_msg,
 
19
#ifdef __sun
 
20
                           struct pam_message **msg,
 
21
#else
17
22
                           const struct pam_message **msg,
 
23
#endif
18
24
                           struct pam_response **resp,
19
25
                           void *appdata_ptr)
20
26
{