Repository: incubator-mynewt-core Updated Branches: refs/heads/develop f85603717 -> d886fa15d
oic; allow use of 'struct <name>' for request/response.. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/bcb6607c Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bcb6607c Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/bcb6607c Branch: refs/heads/develop Commit: bcb6607ce2f7038c4b4fbaa739d53bb30b2e0efc Parents: f856037 Author: Marko Kiiskila <[email protected]> Authored: Fri Jan 13 18:11:51 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Fri Jan 13 18:13:39 2017 -0800 ---------------------------------------------------------------------- net/oic/include/oic/oc_client_state.h | 4 ++-- net/oic/include/oic/oc_ri.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bcb6607c/net/oic/include/oic/oc_client_state.h ---------------------------------------------------------------------- diff --git a/net/oic/include/oic/oc_client_state.h b/net/oic/include/oic/oc_client_state.h index 01acbb4..24884eb 100644 --- a/net/oic/include/oic/oc_client_state.h +++ b/net/oic/include/oic/oc_client_state.h @@ -28,13 +28,13 @@ extern "C" { #ifdef OC_CLIENT typedef enum { HIGH_QOS = 0, LOW_QOS } oc_qos_t; -typedef struct { +typedef struct oc_client_response { struct coap_packet_rx *packet; oc_status_t code; uint32_t observe_option; } oc_client_response_t; -typedef struct { +typedef struct oc_server_handle { oc_endpoint_t endpoint; } oc_server_handle_t; http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bcb6607c/net/oic/include/oic/oc_ri.h ---------------------------------------------------------------------- diff --git a/net/oic/include/oic/oc_ri.h b/net/oic/include/oic/oc_ri.h index 6f0c1fa..d2f0f2e 100644 --- a/net/oic/include/oic/oc_ri.h +++ b/net/oic/include/oic/oc_ri.h @@ -97,7 +97,7 @@ typedef enum { typedef struct oc_resource oc_resource_t; -typedef struct { +typedef struct oc_request { oc_endpoint_t *origin; oc_resource_t *resource; const char *query;
