This file isn't used; it's an older version of include/security/pam_misc.h.
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
933dfc6762
commit
eb6473ad8e
@ -1,72 +0,0 @@
|
||||
/* $Id: pam_misc.h,v 1.3 1997/01/04 20:15:52 morgan Exp morgan $ */
|
||||
|
||||
/* $Log: pam_misc.h,v $
|
||||
* Revision 1.3 1997/01/04 20:15:52 morgan
|
||||
* added timeout to misc_conv
|
||||
*
|
||||
* Revision 1.2 1996/12/01 03:27:00 morgan
|
||||
* add env prototypes
|
||||
*
|
||||
* Revision 1.1 1996/07/06 19:31:38 morgan
|
||||
* Initial revision
|
||||
*
|
||||
* Revision 1.1 1996/07/06 19:16:30 morgan
|
||||
* Initial revision
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef __PAMMISC_H
|
||||
#define __PAMMISC_H
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
|
||||
/* include some useful macros */
|
||||
|
||||
#include <security/_pam_macros.h>
|
||||
|
||||
/* functions defined in pam_misc.* libraries */
|
||||
|
||||
extern int misc_conv(int num_msg, const struct pam_message **msgm,
|
||||
struct pam_response **response, void *appdata_ptr);
|
||||
|
||||
#include <time.h>
|
||||
|
||||
extern time_t pam_misc_conv_warn_time; /* time that we should warn user */
|
||||
extern time_t pam_misc_conv_die_time; /* cut-off time for input */
|
||||
extern const char *pam_misc_conv_warn_line; /* warning notice */
|
||||
extern const char *pam_misc_conv_die_line; /* cut-off remark */
|
||||
extern int pam_misc_conv_died; /* 1 = cut-off time reached (0 not) */
|
||||
extern int (*pam_binary_handler_fn)(const void *_send, void **_receive);
|
||||
|
||||
/*
|
||||
* Environment helper functions
|
||||
*/
|
||||
|
||||
/* transcribe given environment (to pam) */
|
||||
extern int pam_misc_paste_env(pam_handle_t *pamh
|
||||
, const char * const *_user_env);
|
||||
|
||||
/* char **pam_misc_copy_env(pam_handle_t *pamh);
|
||||
|
||||
This is no longer defined as a prototype because the X/Open XSSO
|
||||
spec makes it clear that PAM's pam_getenvlist() does exactly
|
||||
what this was needed for.
|
||||
|
||||
A wrapper is still provided in the pam_misc library - so that
|
||||
legacy applications will still work. But _BE_WARNED_ it will
|
||||
disappear by the release of libpam 1.0 . */
|
||||
|
||||
/* delete environment as obtained from (pam_getenvlist) */
|
||||
extern char **pam_misc_drop_env(char **_env);
|
||||
|
||||
/* provide something like the POSIX setenv function for the (Linux-)PAM
|
||||
* environment. */
|
||||
|
||||
extern int pam_misc_setenv(pam_handle_t *_pamh, const char *_name
|
||||
, const char *_value, int _readonly);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user