pam_smbpass/support.h

説明を見る。
00001 /* syslogging function for errors and other information */
00002 extern void _log_err(int, const char *, ...);
00003 
00004 /* set the control flags for the UNIX module. */
00005 extern int set_ctrl(int, int, const char **);
00006 
00007 /* generic function for freeing pam data segments */
00008 extern void _cleanup(pam_handle_t *, void *, int);
00009 
00010 /*
00011  * Safe duplication of character strings. "Paranoid"; don't leave
00012  * evidence of old token around for later stack analysis.
00013  */
00014 
00015 extern char *smbpXstrDup(const char *);
00016 
00017 /* ************************************************************** *
00018  * Useful non-trivial functions                                   *
00019  * ************************************************************** */
00020 
00021 extern void _cleanup_failures(pam_handle_t *, void *, int);
00022 
00023 /* compare 2 strings */
00024 extern BOOL strequal(const char *, const char *);
00025 
00026 extern struct smb_passwd *
00027 _my_get_smbpwnam(FILE *, const char *, BOOL *, BOOL *, long *);
00028 
00029 extern int _smb_verify_password( pam_handle_t *pamh , struct samu *sampass, 
00030         const char *p, unsigned int ctrl );
00031 
00032 /*
00033  * this function obtains the name of the current user and ensures
00034  * that the PAM_USER item is set to this value
00035  */
00036 
00037 extern int _smb_get_user(pam_handle_t *, unsigned int,
00038                          const char *, const char **);
00039 
00040 /* _smb_blankpasswd() is a quick check for a blank password */
00041 
00042 extern int _smb_blankpasswd(unsigned int, struct samu *);
00043 
00044 
00045 /* obtain a password from the user */
00046 extern int _smb_read_password( pam_handle_t *, unsigned int, const char*,
00047                                 const char *, const char *, const char *, char **);
00048 
00049 extern int _pam_smb_approve_pass(pam_handle_t *, unsigned int, const char *,
00050                                  const char *);

Sambaに対してSat Aug 29 21:23:11 2009に生成されました。  doxygen 1.4.7