Files
flenser/src/digest.hh
ADAM David Alan Martin 06f8226487 Migrate a lot of C to C++.
It will let me put a lot more dtors into certain
structs that C++ code calls `free` on members within.
2025-04-10 02:46:06 -04:00

24 lines
527 B
C++

#ifndef __DIGEST_H__
#define __DIGEST_H__
#include "auth.hh"
#include "../dlib/dlib.h"
#ifdef __cplusplus
extern "C" {
#endif
char *a_Digest_create_cnonce(void);
int a_Digest_compute_digest(AuthRealm_t *realm,
const char *username,
const char *passwd);
char *a_Digest_authorization_hdr(AuthRealm_t *realm,
const DilloUrl *url,
const char *uri);
#ifdef __cplusplus
}
#endif
#endif /* !__DIGEST_H__ */