HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/include/courierauthdebug.h
#ifndef courierauthdebug_h
#define courierauthdebug_h

/*
** Copyright 2002-2004 Double Precision, Inc.  See COPYING for
** distribution information.
*/
#ifdef	__cplusplus
extern "C" {
#endif


#define DEBUG_LOGIN_ENV "DEBUG_LOGIN"
#define DEBUG_MESSAGE_SIZE (1<<10)

void courier_authdebug_login_init( void );
void courier_authdebug_login( int level, const char *fmt, ... );
int courier_authdebug_printf( const char *fmt, ... );
int courier_safe_printf( const char *fmt, ... );
int courier_auth_err( const char *fmt, ... );
struct authinfo;
int courier_authdebug_authinfo(const char *pfx, const struct authinfo *auth,
	const char *clearpasswd, const char *passwd);

extern int courier_authdebug_login_level;

#define DPRINTF if (courier_authdebug_login_level) courier_authdebug_printf

#define DPWPRINTF if (courier_authdebug_login_level >= 2) courier_authdebug_printf

#ifdef	__cplusplus
}
#endif

#endif