|
Apache HTTPD
|
#include "apr_strings.h"#include "apr_thread_proc.h"#include "apr_sha1.h"#include "apr_base64.h"#include "apr_buckets.h"#include "apr_want.h"#include "httpd.h"#include "http_config.h"#include "http_connection.h"#include "http_core.h"#include "http_log.h"#include "http_protocol.h"#include "http_request.h"Go to the source code of this file.
Macros | |
| #define | APR_WANT_STRFUNC |
| #define | SHA1_DIGEST_BASE64_LEN 4*(APR_SHA1_DIGESTSIZE/3) |
| #define | HEX_DIGITS "0123456789abcdef" |
| #define | ETAG_WEAK "W/" |
| #define | CHARS_PER_UINT64 (sizeof(apr_uint64_t) * 2) |
Functions | |
| static char * | etag_uint64_to_hex (char *next, apr_uint64_t u) |
| static void | etag_start (char *etag, const char *weak, char **next) |
| static void | etag_end (char *next, const char *vlv, apr_size_t vlv_len) |
| static char * | make_digest_etag (request_rec *r, etag_rec *er, char *vlv, apr_size_t vlv_len, char *weak, apr_size_t weak_len) |
| char * | ap_make_etag_ex (request_rec *r, etag_rec *er) |
| char * | ap_make_etag (request_rec *r, int force_weak) |
| void | ap_set_etag (request_rec *r) |
| void | ap_set_etag_fd (request_rec *r, apr_file_t *fd) |
| #define APR_WANT_STRFUNC |
Definition at line 23 of file http_etag.c.
| #define CHARS_PER_UINT64 (sizeof(apr_uint64_t) * 2) |
Definition at line 65 of file http_etag.c.
| #define ETAG_WEAK "W/" |
Definition at line 64 of file http_etag.c.
| #define HEX_DIGITS "0123456789abcdef" |
Definition at line 43 of file http_etag.c.
| #define SHA1_DIGEST_BASE64_LEN 4*(APR_SHA1_DIGESTSIZE/3) |
Definition at line 38 of file http_etag.c.
|
static |
Definition at line 79 of file http_etag.c.
Definition at line 67 of file http_etag.c.
|
static |
Definition at line 44 of file http_etag.c.
|
static |
< Open the file for reading
<
< Open the file in binary mode (This flag is ignored on UNIX because it has no meaning)
<
Definition at line 94 of file http_etag.c.