/* * digest_common.h * * AUTHOR: Robert Collins. * * Digest helper API details. * * Copyright (c) 2003 Robert Collins */ #ifndef _SQUID_DIGEST_COMMON_H_ #define _SQUID_DIGEST_COMMON_H_ #include "config.h" #if HAVE_STDIO_H #include #endif #if HAVE_STDLIB_H #include #endif #if HAVE_CTYPE_H #include #endif #if HAVE_UNISTD_H #include #endif #if HAVE_STRING_H #include #endif #if HAVE_STRINGS_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_STAT_H #include #endif #if HAVE_CRYPT_H #include #endif #include "util.h" #include "hash.h" #include "rfc2617.h" typedef struct _request_data { char *user; char *realm; char *password; HASHHEX HHA1; int parsed; int error; } RequestData; /* to use a backend, include your backend.h file * and define thusly: * #define ProcessArguments(A, B) MyHandleArguments(A,B) * #define GetHHA1(A) MyGetHHA1(A) */ typedef void HandleArguments(int, char **); typedef void HHA1Creator(RequestData *); #endif /* _SQUID_DIGEST_COMMON_H_ */