Changeset 400 in openpam


Ignore:
Timestamp:
Oct 24, 2007, 3:04:23 PM (12 years ago)
Author:
Dag-Erling Smørgrav
Message:

Constify.

Location:
trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/CREDITS

    r392 r400  
    2626        Mark Murray <markm@freebsd.org>
    2727        Mike Petullo <mike@flyn.org>
     28        Mikhail Teterin <mi@aldan.algebra.com>
    2829        Mikko Työläjärvi <mbsd@pacbell.net>
    2930        Robert Watson <rwatson@freebsd.org>
  • trunk/include/security/openpam.h

    r320 r400  
    8181
    8282int
    83 pam_error(pam_handle_t *_pamh,
     83pam_error(const pam_handle_t *_pamh,
    8484        const char *_fmt,
    8585        ...)
     
    9595
    9696int
    97 pam_info(pam_handle_t *_pamh,
     97pam_info(const pam_handle_t *_pamh,
    9898        const char *_fmt,
    9999        ...)
     
    102102
    103103int
    104 pam_prompt(pam_handle_t *_pamh,
     104pam_prompt(const pam_handle_t *_pamh,
    105105        int _style,
    106106        char **_resp,
     
    118118
    119119int
    120 pam_vinfo(pam_handle_t *_pamh,
     120pam_vinfo(const pam_handle_t *_pamh,
    121121        const char *_fmt,
    122122        va_list _ap)
     
    125125
    126126int
    127 pam_verror(pam_handle_t *_pamh,
     127pam_verror(const pam_handle_t *_pamh,
    128128        const char *_fmt,
    129129        va_list _ap)
     
    132132
    133133int
    134 pam_vprompt(pam_handle_t *_pamh,
     134pam_vprompt(const pam_handle_t *_pamh,
    135135        int _style,
    136136        char **_resp,
  • trunk/include/security/pam_appl.h

    r320 r400  
    7676
    7777int
    78 pam_get_data(pam_handle_t *_pamh,
     78pam_get_data(const pam_handle_t *_pamh,
    7979        const char *_module_data_name,
    80         void **_data)
     80        const void **_data)
    8181        OPENPAM_NONNULL((1,2,3));
    8282
    8383int
    84 pam_get_item(pam_handle_t *_pamh,
     84pam_get_item(const pam_handle_t *_pamh,
    8585        int _item_type,
    8686        const void **_item)
     
    140140
    141141const char *
    142 pam_strerror(pam_handle_t *_pamh,
     142pam_strerror(const pam_handle_t *_pamh,
    143143        int _error_number);
    144144
  • trunk/lib/openpam_borrow_cred.c

    r320 r400  
    5858{
    5959        struct pam_saved_cred *scred;
    60         void *scredp;
     60        const void *scredp;
    6161        int r;
    6262
  • trunk/lib/openpam_restore_cred.c

    r320 r400  
    5656openpam_restore_cred(pam_handle_t *pamh)
    5757{
    58         struct pam_saved_cred *scred;
    59         void *scredp;
     58        const struct pam_saved_cred *scred;
     59        const void *scredp;
    6060        int r;
    6161
  • trunk/lib/pam_error.c

    r320 r400  
    5151
    5252int
    53 pam_error(pam_handle_t *pamh,
     53pam_error(const pam_handle_t *pamh,
    5454        const char *fmt,
    5555        ...)
  • trunk/lib/pam_get_data.c

    r320 r400  
    4949
    5050int
    51 pam_get_data(pam_handle_t *pamh,
     51pam_get_data(const pam_handle_t *pamh,
    5252        const char *module_data_name,
    53         void **data)
     53        const void **data)
    5454{
    5555        pam_data_t *dp;
  • trunk/lib/pam_get_item.c

    r320 r400  
    6565
    6666int
    67 pam_get_item(pam_handle_t *pamh,
     67pam_get_item(const pam_handle_t *pamh,
    6868        int item_type,
    6969        const void **item)
  • trunk/lib/pam_info.c

    r320 r400  
    5151
    5252int
    53 pam_info(pam_handle_t *pamh,
     53pam_info(const pam_handle_t *pamh,
    5454        const char *fmt,
    5555        ...)
  • trunk/lib/pam_prompt.c

    r320 r400  
    4949
    5050int
    51 pam_prompt(pam_handle_t *pamh,
     51pam_prompt(const pam_handle_t *pamh,
    5252        int style,
    5353        char **resp,
  • trunk/lib/pam_strerror.c

    r320 r400  
    8282
    8383const char *
    84 pam_strerror(pam_handle_t *pamh,
     84pam_strerror(const pam_handle_t *pamh,
    8585        int error_number)
    8686{
  • trunk/lib/pam_verror.c

    r320 r400  
    5050
    5151int
    52 pam_verror(pam_handle_t *pamh,
     52pam_verror(const pam_handle_t *pamh,
    5353        const char *fmt,
    5454        va_list ap)
  • trunk/lib/pam_vinfo.c

    r320 r400  
    5050
    5151int
    52 pam_vinfo(pam_handle_t *pamh,
     52pam_vinfo(const pam_handle_t *pamh,
    5353        const char *fmt,
    5454        va_list ap)
  • trunk/lib/pam_vprompt.c

    r320 r400  
    5050
    5151int
    52 pam_vprompt(pam_handle_t *pamh,
     52pam_vprompt(const pam_handle_t *pamh,
    5353        int style,
    5454        char **resp,
Note: See TracChangeset for help on using the changeset viewer.