Diff for /libaitcfg/inc/aitpwd.h between versions 1.1.2.6 and 1.1.2.9

version 1.1.2.6, 2012/09/19 11:47:38 version 1.1.2.9, 2012/09/19 12:35:10
Line 48  SUCH DAMAGE. Line 48  SUCH DAMAGE.
   
   
 #include <time.h>  #include <time.h>
   #include <sys/types.h>
   #include <aitio.h>
   
   
 #define PWD_CRIT_NAME   0  #define PWD_CRIT_NAME   0
Line 198  int cfgAuthPasswd(pwd_root_t * __restrict pwd, const c Line 200  int cfgAuthPasswd(pwd_root_t * __restrict pwd, const c
  * @arg1 = Username | UID | GID   * @arg1 = Username | UID | GID
  * return: NULL not found item or error and !=NULL found item   * return: NULL not found item or error and !=NULL found item
  */   */
struct tagUser *cfg_findPasswdBy(pwd_root_t * __restrict pwd, int criteria, ...);const struct tagUser *cfg_findPasswdBy(pwd_root_t * __restrict pwd, int criteria, ...);
 /*  /*
  * cfg_unsetPasswd() - Unset item from passwords and free resources   * cfg_unsetPasswd() - Unset item from passwords and free resources
  *   *
Line 212  int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c Line 214  int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
  * cfg_setPasswd() - Set item in password or adding new item if not exists   * cfg_setPasswd() - Set item in password or adding new item if not exists
  *   *
  * @cfg = Password root   * @cfg = Password root
    * @fields = Meaning continuous field
  * @csName = Username   * @csName = Username
  * @csPass = Password   * @csPass = Password
  * @uid = UID   * @uid = UID
Line 224  int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c Line 227  int cfg_unsetPasswd(pwd_root_t * __restrict pwd, int c
  * @csShell = Shell   * @csShell = Shell
  * return: 0 nothing changed, -1 error, 1 found and updated item or 2 added new item   * return: 0 nothing changed, -1 error, 1 found and updated item or 2 added new item
  */   */
int cfg_setPasswd(pwd_root_t * __restrict pwd, const char *csName, const char *csPass, int cfg_setPasswd(pwd_root_t * __restrict pwd, unsigned char fields, 
                 const char *csName, const char *csPass, 
                 unsigned int uid, unsigned int gid, const char *csClass,                   unsigned int uid, unsigned int gid, const char *csClass, 
                 unsigned int change, unsigned int expire, const char *csRealm,                   unsigned int change, unsigned int expire, const char *csRealm, 
                 const char *csHome, const char *csShell);                  const char *csHome, const char *csShell);

Removed from v.1.1.2.6  
changed lines
  Added in v.1.1.2.9


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>