Define struct pam_repository (from Solaris 9). Note that the PAM
headers now require size_t to be defined. Sponsored by: DARPA, NAI Labs git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@159 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
1b829e63eb
commit
5302ca92e9
1 changed files with 10 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $P4: //depot/projects/openpam/include/security/pam_types.h#6 $
|
* $P4: //depot/projects/openpam/include/security/pam_types.h#7 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PAM_TYPES_H_INCLUDED
|
#ifndef _PAM_TYPES_H_INCLUDED
|
||||||
|
@ -69,6 +69,15 @@ struct pam_conv {
|
||||||
struct pam_handle;
|
struct pam_handle;
|
||||||
typedef struct pam_handle pam_handle_t;
|
typedef struct pam_handle pam_handle_t;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Solaris 9
|
||||||
|
*/
|
||||||
|
typedef struct pam_repository {
|
||||||
|
char *type;
|
||||||
|
void *scope;
|
||||||
|
size_t scope_len;
|
||||||
|
} pam_repository_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue