PERFORCE change 34468 for review
Dag-Erling Smorgrav
des at FreeBSD.org
Mon Jul 14 05:16:50 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=34468
Change 34468 by des at des.at.des.thinksec.com on 2003/07/14 05:15:45
Constify the msg field of struct pam_message, and realign.
Affected files ...
.. //depot/projects/openpam/include/security/pam_types.h#12 edit
Differences ...
==== //depot/projects/openpam/include/security/pam_types.h#12 (text+ko) ====
@@ -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 @@
* 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 @@
* 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
More information about the p4-projects
mailing list