http_parse_www_auth.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 51 行
H
51 行
/*******************************************************************
*
* Copyright C 2004 by Amlogic, Inc. All Rights Reserved.
*
* Description: Parse WWW-Authenticate from server according to
* RFC 2617.
*
* Author: Eric Knudstrup
* Created: Tue Apr 5 15:33:56 2005
*
*******************************************************************/
#ifndef HTTP_PARSE_WWW_AUTH_H
#define HTTP_PARSE_WWW_AUTH_H
typedef enum {
WWW_AUTH_BASIC,
WWW_AUTH_DIGEST
} WWWAuthScheme;
typedef struct {
WWWAuthScheme scheme;
char *realm;
char *domain;
char *nonce;
char *opaque;
char *algorithm;
char *qop_options;
char *auth_param;
char *stale;
} HTTPWWWAuthValue_t;
/*;emacs generated header for file http_parse_www_auth.c. Global function declarations only. */
extern HTTPWWWAuthValue_t *
http_www_auth_field_value(HTTPInputMessage_t *response);
extern void
http_parse_www_auth_field_free(HTTPFieldValue *field);
extern HTTPParseStatus
http_parse_www_auth_field(HTTPParser *parser, HTTPFieldValue *base);
extern HTTPParseStatus
http_parse_www_auth_field_init(HTTPParser *parser,
HTTPFieldParser *hdr_parser);
/*;end emacs generated header for file http_parse_www_auth.c. Global function declarations only. */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?