20 #ifndef OC_DISCOVERY_H
21 #define OC_DISCOVERY_H
52 size_t device_index,
size_t *response_length,
53 int *skipped,
int first_entry,
int truncate);
66 size_t device_index,
size_t *response_length,
bool oc_add_resource_to_wk(const oc_resource_t *resource, oc_request_t *request, size_t device_index, size_t *response_length, int truncate)
add the resource to the response in application link format
bool oc_filter_resource(const oc_resource_t *resource, oc_request_t *request, size_t device_index, size_t *response_length, int *skipped, int first_entry, int truncate)
filter resource if it needs to be included in the response of a link-format response
void oc_create_discovery_resource(int resource_idx, size_t device)
create a resource that is discoverable.
request information structure