Date: Mon, 14 Jul 2003 05:16:46 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 34468 for review Message-ID: <200307141216.h6ECGkBn058008@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=34468 Change 34468 by des@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307141216.h6ECGkBn058008>