aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-07-21 19:54:17 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-07-21 19:54:17 +0000
commit845c1b9ce2a429d14ffd57b09b899d7abb783eed (patch)
tree09ea1d1fbd9d7540a8b14df1e133722f46f492ac
parent2d142fa40deeb5367d537f2e835d7589102b5c83 (diff)
downloadsrc-845c1b9ce2a429d14ffd57b09b899d7abb783eed.tar.gz
src-845c1b9ce2a429d14ffd57b09b899d7abb783eed.zip
MFP4: revert constification of pam_message.msg (perforce change #34785)
Notes
Notes: svn path=/vendor/openpam/dist/; revision=117839
-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 e7064d8a5fd6..ebe2eec73624 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#12 $
+ * $P4: //depot/projects/openpam/include/security/pam_types.h#13 $
*/
#ifndef _PAM_TYPES_H_INCLUDED
@@ -47,22 +47,22 @@ extern "C" {
* XSSO 5.1.1
*/
struct pam_message {
- int msg_style;
- const char *msg;
+ int msg_style;
+ 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