#ifndef _USERAUTH_H_cf65ac6d_ #define _USERAUTH_H_cf65ac6d_ /* This file is in the public domain. */ #include typedef struct cuastate CUASTATE; typedef struct suastate SUASTATE; #include "bpp.h" struct cuastate { LAYER *layer; UAALG *curalg; void *algpriv; ALE *cando; unsigned char *(*pkthead)(CUASTATE *); } ; struct suastate { LAYER *layer; UAALG *curalg; int attempts; int haveuser; char *curuser; STR service; int nosuchuser; char *passwd; uid_t uid; gid_t gid; char *homedir; char *shell; } ; extern void send_failure(SUASTATE *, int); extern void add_attempt(SUASTATE *); #endif