HomePort
Functions
request_api.c File Reference
Include dependency graph for request_api.c:

Go to the source code of this file.

Functions

hpd_error_t hpd_request (hpd_request_t *request)
 
hpd_error_t hpd_request_alloc (hpd_request_t **request, const hpd_service_id_t *id, hpd_method_t method, hpd_response_f on_response)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_request_free (hpd_request_t *request)
 
hpd_error_t hpd_request_get_method (const hpd_request_t *req, hpd_method_t *method)
 
hpd_error_t hpd_request_get_service (const hpd_request_t *req, const hpd_service_id_t **id)
 [hpd_parameter_t functions] More...
 
hpd_error_t hpd_request_get_value (const hpd_request_t *req, const hpd_value_t **value)
 
hpd_error_t hpd_request_set_data (hpd_request_t *request, void *data, hpd_free_f on_free)
 
hpd_error_t hpd_request_set_value (hpd_request_t *request, hpd_value_t *value)
 
hpd_error_t hpd_respond (hpd_response_t *response)
 
hpd_error_t hpd_response_alloc (hpd_response_t **response, hpd_request_t *request, hpd_status_t status)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_response_free (hpd_response_t *response)
 
hpd_error_t hpd_response_get_request_data (const hpd_response_t *response, void **data)
 
hpd_error_t hpd_response_get_request_method (const hpd_response_t *response, hpd_method_t *method)
 
hpd_error_t hpd_response_get_request_service (const hpd_response_t *response, const hpd_service_id_t **service)
 
hpd_error_t hpd_response_get_request_value (const hpd_response_t *response, const hpd_value_t **value)
 
hpd_error_t hpd_response_get_status (const hpd_response_t *response, hpd_status_t *status)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_response_get_value (const hpd_response_t *response, const hpd_value_t **value)
 
hpd_error_t hpd_response_set_value (hpd_response_t *response, hpd_value_t *value)
 

Function Documentation

Definition at line 62 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_alloc ( hpd_request_t **  request,
const hpd_service_id_t id,
hpd_method_t  method,
hpd_response_f  on_response 
)

[hpd_request_t functions]

Definition at line 35 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_free ( hpd_request_t request)

Definition at line 44 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_get_method ( const hpd_request_t req,
hpd_method_t method 
)

Definition at line 75 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_request_get_service ( const hpd_request_t req,
const hpd_service_id_t **  id 
)

[hpd_parameter_t functions]

[hpd_request_t functions]

Definition at line 69 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_get_value ( const hpd_request_t req,
const hpd_value_t **  value 
)

Definition at line 81 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_set_data ( hpd_request_t request,
void *  data,
hpd_free_f  on_free 
)

Definition at line 56 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_set_value ( hpd_request_t request,
hpd_value_t value 
)

Definition at line 50 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_respond ( hpd_response_t response)

Definition at line 150 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_alloc ( hpd_response_t **  response,
hpd_request_t request,
hpd_status_t  status 
)

[hpd_request_t functions]

[hpd_response_t functions]

Definition at line 87 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_free ( hpd_response_t response)

Definition at line 138 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_get_request_data ( const hpd_response_t response,
void **  data 
)

Definition at line 169 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_method ( const hpd_response_t response,
hpd_method_t method 
)

Definition at line 181 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_service ( const hpd_response_t response,
const hpd_service_id_t **  service 
)

Definition at line 175 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_value ( const hpd_response_t response,
const hpd_value_t **  value 
)

Definition at line 187 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_status ( const hpd_response_t response,
hpd_status_t status 
)

[hpd_request_t functions]

[hpd_response_t functions]

Definition at line 157 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_get_value ( const hpd_response_t response,
const hpd_value_t **  value 
)

Definition at line 163 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_set_value ( hpd_response_t response,
hpd_value_t value 
)

Definition at line 144 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function: