summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/include/security/pam_types.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-07-15 07:18:26 +0000
committerdes <des@FreeBSD.org>2003-07-15 07:18:26 +0000
commit4f94712dd14f8e2fd55b14e14daa159df368e451 (patch)
tree90480c2f7b7437d4ebac16f2a7849084abe7ba6e /contrib/openpam/include/security/pam_types.h
parent49e0f275db6cafef33693cb9ac1fdd52cdd63a67 (diff)
downloadFreeBSD-src-4f94712dd14f8e2fd55b14e14daa159df368e451.zip
FreeBSD-src-4f94712dd14f8e2fd55b14e14daa159df368e451.tar.gz
Vendor import of OpenPAM Dogwood.
Diffstat (limited to 'contrib/openpam/include/security/pam_types.h')
-rw-r--r--contrib/openpam/include/security/pam_types.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/openpam/include/security/pam_types.h b/contrib/openpam/include/security/pam_types.h
index d2d83b3..e7064d8 100644
--- a/contrib/openpam/include/security/pam_types.h
+++ b/contrib/openpam/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#11 $
+ * $P4: //depot/projects/openpam/include/security/pam_types.h#12 $
*/
#ifndef _PAM_TYPES_H_INCLUDED
@@ -47,22 +47,22 @@ extern "C" {
* XSSO 5.1.1
*/
struct pam_message {
- int msg_style;
- char *msg;
+ int msg_style;
+ const char *msg;
};
struct pam_response {
- char *resp;
- int resp_retcode;
+ char *resp;
+ int resp_retcode;
};
/*
* XSSO 5.1.2
*/
struct pam_conv {
- int (*conv)(int, const struct pam_message **,
- struct pam_response **, void *);
- void *appdata_ptr;
+ int (*conv)(int, const struct pam_message **,
+ struct pam_response **, void *);
+ void *appdata_ptr;
};
/*
@@ -75,9 +75,9 @@ typedef struct pam_handle pam_handle_t;
* Solaris 9
*/
typedef struct pam_repository {
- char *type;
- void *scope;
- size_t scope_len;
+ char *type;
+ void *scope;
+ size_t scope_len;
} pam_repository_t;
#ifdef __cplusplus
OpenPOWER on IntegriCloud