Codebase list dillo / 462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main src / digest.h
462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main

Tree @462034fd-d4de-4c08-a0cd-5a55f76ebc5c/main (Download .tar.gz)

digest.h @462034fd-d4de-4c08-a0cd-5a55f76ebc5c/mainraw · history · blame

#ifndef __DIGEST_H__
#define __DIGEST_H__

#include "auth.h"
#include "../dlib/dlib.h"


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);

#endif /* !__DIGEST_H__ */