mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
16 lines
492 B
C
16 lines
492 B
C
#ifndef DIGAUTH_H_
|
|
#define DIGAUTH_H_
|
|
|
|
#include <stdio.h>
|
|
|
|
extern char *nonce_key;
|
|
|
|
int get_nonce_key(void);
|
|
int validate_http_digest_auth(const char *http_meth, const char *uri, const char *hdr,
|
|
const char *rlm, const char *usr, const char *psw,
|
|
unsigned int timeout);
|
|
int http_authentication_failure_resp(FILE *fp, const char *http_meth, const char *uri,
|
|
const char *rlm, const char *opq);
|
|
void strip_lead_trail_char(char *str, char ch);
|
|
|
|
#endif /* DIGAUTH_H_ */
|