view src/auth/userinfo-passwd.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents bf38c8f30a4c
children
line wrap: on
line source

#ifndef __USERINFO_PASSWD_H
#define __USERINFO_PASSWD_H

#include "common.h"
#include "safe-memset.h"
#include "userinfo.h"

#include <pwd.h>

#define IS_VALID_PASSWD(pass) \
	((pass)[0] != '\0' && (pass)[0] != '*' && (pass)[0] != '!')

void passwd_fill_cookie_reply(struct passwd *pw,
			      struct auth_cookie_reply_data *reply);

#endif