From 5302ca92e96a884c64acd59e03ab68b6ee13dfe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 30 Jun 2002 22:39:52 +0000 Subject: [PATCH] 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 --- include/security/pam_types.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/security/pam_types.h b/include/security/pam_types.h index 2bbbbb3..2cafa01 100644 --- a/include/security/pam_types.h +++ b/include/security/pam_types.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * 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 @@ -69,6 +69,15 @@ struct pam_conv { struct pam_handle; 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 } #endif