Anonymous
public text v1 · immutable#include <syslog.h>
#include <stdarg.h>
#ifdef FreeBSD
#include <security/pam_appl.h>
#define PAM_SM_AUTH
#include <security/pam_modules.h>
#else
#include <pam/pam_appl.h>
#define PAM_SM_AUTH
#include <pam/pam_modules.h>
#endif
#ifdef DEBUG
# define D(a) a;
#else
# define D(a) {}
#endif
/* logging function ripped from pam_listfile.c */
void _pam_log(int, const char *, ...);