~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Brian Aker
  • Date: 2009-02-02 23:10:18 UTC
  • mfrom: (779.3.40 devel)
  • Revision ID: brian@tangent.org-20090202231018-zlp0hka6kgwy1vfy
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    const char *password;
18
18
} auth_pam_userinfo;
19
19
 
20
 
static int auth_pam_talker(int num_msg,
21
 
#ifdef __sun
22
 
                           struct pam_message **msg,
23
 
#else
24
 
                           const struct pam_message **msg,
25
 
#endif
26
 
                           struct pam_response **resp,
27
 
                           void *appdata_ptr)
 
20
extern "C"
 
21
int auth_pam_talker(int num_msg,
 
22
#ifdef __sun
 
23
                    struct pam_message **msg,
 
24
#else
 
25
                    const struct pam_message **msg,
 
26
#endif
 
27
                    struct pam_response **resp,
 
28
                    void *appdata_ptr);
 
29
 
 
30
int auth_pam_talker(int num_msg,
 
31
#ifdef __sun
 
32
                    struct pam_message **msg,
 
33
#else
 
34
                    const struct pam_message **msg,
 
35
#endif
 
36
                    struct pam_response **resp,
 
37
                    void *appdata_ptr)
28
38
{
29
39
  auth_pam_userinfo *userinfo = (auth_pam_userinfo*)appdata_ptr;
30
40
  struct pam_response *response = 0;