view src/auth/userinfo-passwd.h @ 1000:0fbafade2d85 HEAD

If auth/login process died unexpectedly, the exit status or killing signal wasn't logged.
author Timo Sirainen <tss@iki.fi>
date Tue, 21 Jan 2003 09:58:49 +0200
parents fd8888f6f037
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