aboutsummaryrefslogtreecommitdiff
path: root/src/digest.h
blob: 2723c6454ee4133ee3a3fde3ed298b2f1d6fa72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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__ */