40 #define PARAMETER_FORM 0x0001 43 #define PARAMETER_HEADER 0x0002 74 claim_parameters (
struct parameters *params ) {
83 #define for_each_param( param, params ) \ 84 list_for_each_entry ( (param), &(params)->entries, list )
struct parameters * find_parameters(const char *name)
Find request parameter list by name.
A request parameter list.
struct parameters * create_parameters(const char *name)
Create request parameter list.
A doubly-linked list entry (or list head)
#define list_del(list)
Delete an entry from a list.
struct refcnt refcnt
Reference count.
struct parameter * add_parameter(struct parameters *params, const char *key, const char *value, unsigned int flags)
Add request parameter.
pseudo_bit_t value[0x00020]
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define ref_get(refcnt)
Get additional reference to object.
struct list_head entries
Parameters.
struct list_head list
List of request parameters.
struct list_head list
List of all parameter lists.
static __attribute__((always_inline)) struct parameters *params_get(struct parameters *params)
Increment request parameter list reference count.
#define ref_put(refcnt)
Drop reference to object.