Changeset 444 in openpam for trunk


Ignore:
Timestamp:
Oct 22, 2011, 1:03:23 AM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

Document that the item argument (for pam_get_item(3)) and the data
argument (for pam_get_data(3)) are untouched if the function fails.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_data.c

    r437 r444  
    8585 * A pointer to the object is stored in the location pointed to by the
    8686 * =data argument.
     87 * If =pam_get_data fails, the =data argument is untouched.
    8788 *
    8889 * This function and its counterpart =pam_set_data are useful for managing
  • trunk/lib/pam_get_item.c

    r443 r444  
    109109/**
    110110 * The =pam_get_item function stores a pointer to the item specified by
    111  * the =item_type argument in the location specified by the =item
     111 * the =item_type argument in the location pointed to by the =item
    112112 * argument.
    113113 * The item is retrieved from the PAM context specified by the =pamh
    114114 * argument.
     115 * If =pam_get_item fails, the =item argument is untouched.
     116 *
    115117 * The following item types are recognized:
    116118 *
Note: See TracChangeset for help on using the changeset viewer.