Apache HTTPD
Macros | Typedefs

Binary notes recognized by the server. More...

Macros

#define AP_REQUEST_STRONG_ETAG   1 >> 0
 
#define AP_REQUEST_TRUSTED_CT   1 << 1
 
#define AP_REQUEST_GET_BNOTE(r, mask)    ((mask) & ((r)->bnotes))
 
#define AP_REQUEST_SET_BNOTE(r, mask, val)    (r)->bnotes = (((r)->bnotes & ~(mask)) | (val))
 
#define AP_REQUEST_IS_STRONG_ETAG(r)    AP_REQUEST_GET_BNOTE((r), AP_REQUEST_STRONG_ETAG)
 

Typedefs

typedef apr_uint64_t ap_request_bnotes_t
 

Detailed Description

Binary notes recognized by the server.

Macro Definition Documentation

◆ AP_REQUEST_GET_BNOTE

#define AP_REQUEST_GET_BNOTE (   r,
  mask 
)     ((mask) & ((r)->bnotes))

This is a convenience macro to ease with getting specific request binary notes.

Definition at line 676 of file httpd.h.

◆ AP_REQUEST_IS_STRONG_ETAG

#define AP_REQUEST_IS_STRONG_ETAG (   r)     AP_REQUEST_GET_BNOTE((r), AP_REQUEST_STRONG_ETAG)

Returns true if the strong etag flag is set for this request.

Definition at line 689 of file httpd.h.

◆ AP_REQUEST_SET_BNOTE

#define AP_REQUEST_SET_BNOTE (   r,
  mask,
  val 
)     (r)->bnotes = (((r)->bnotes & ~(mask)) | (val))

This is a convenience macro to ease with setting specific request binary notes.

Definition at line 683 of file httpd.h.

◆ AP_REQUEST_STRONG_ETAG

#define AP_REQUEST_STRONG_ETAG   1 >> 0

These constants represent bitmasks for notes associated with this request. There are space for 64 bits in the apr_uint64_t.

Definition at line 669 of file httpd.h.

◆ AP_REQUEST_TRUSTED_CT

#define AP_REQUEST_TRUSTED_CT   1 << 1

Definition at line 670 of file httpd.h.

Typedef Documentation

◆ ap_request_bnotes_t

The type used for request binary notes.

Definition at line 662 of file httpd.h.