It will let me put a lot more dtors into certain structs that C++ code calls `free` on members within.
24 lines
527 B
C++
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__ */
|