iot/zoap: Fix subtly wrong indentation
There were a few lines where the alignment was wrong. Change-Id: I474976c218ac28564dfe9dcda0e0687ed110834e Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
This commit is contained in:
parent
eb9d45e6cd
commit
eab5adb282
1 changed files with 7 additions and 8 deletions
|
@ -149,8 +149,8 @@ struct zoap_resource;
|
||||||
* remote entity.
|
* remote entity.
|
||||||
*/
|
*/
|
||||||
typedef int (*zoap_method_t)(struct zoap_resource *resource,
|
typedef int (*zoap_method_t)(struct zoap_resource *resource,
|
||||||
struct zoap_packet *request,
|
struct zoap_packet *request,
|
||||||
const void *from);
|
const void *from);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Description of CoAP resource.
|
* @brief Description of CoAP resource.
|
||||||
|
@ -234,7 +234,7 @@ int zoap_packet_init(struct zoap_packet *pkt, struct net_buf *buf);
|
||||||
* that long.
|
* that long.
|
||||||
*/
|
*/
|
||||||
int zoap_pending_init(struct zoap_pending *pending,
|
int zoap_pending_init(struct zoap_pending *pending,
|
||||||
const struct zoap_packet *request);
|
const struct zoap_packet *request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the next available pending struct, that can be used to track
|
* Returns the next available pending struct, that can be used to track
|
||||||
|
@ -315,14 +315,13 @@ int zoap_packet_set_used(struct zoap_packet *pkt, uint16_t len);
|
||||||
* in numeric order of their codes.
|
* in numeric order of their codes.
|
||||||
*/
|
*/
|
||||||
int zoap_add_option(struct zoap_packet *pkt, uint16_t code,
|
int zoap_add_option(struct zoap_packet *pkt, uint16_t code,
|
||||||
const void *value, uint16_t len);
|
const void *value, uint16_t len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the values associated with the option of value @a code.
|
* Return the values associated with the option of value @a code.
|
||||||
*/
|
*/
|
||||||
int zoap_find_options(const struct zoap_packet *pkt, uint16_t code,
|
int zoap_find_options(const struct zoap_packet *pkt, uint16_t code,
|
||||||
struct zoap_option *options, uint16_t veclen);
|
struct zoap_option *options, uint16_t veclen);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the version present in a CoAP packet.
|
* Returns the version present in a CoAP packet.
|
||||||
|
@ -338,7 +337,7 @@ uint8_t zoap_header_get_type(const struct zoap_packet *pkt);
|
||||||
* Returns the token associated with a CoAP packet.
|
* Returns the token associated with a CoAP packet.
|
||||||
*/
|
*/
|
||||||
const uint8_t *zoap_header_get_token(const struct zoap_packet *pkt,
|
const uint8_t *zoap_header_get_token(const struct zoap_packet *pkt,
|
||||||
uint8_t *len);
|
uint8_t *len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the code present in the header of a CoAP packet.
|
* Returns the code present in the header of a CoAP packet.
|
||||||
|
@ -364,7 +363,7 @@ void zoap_header_set_type(struct zoap_packet *pkt, uint8_t type);
|
||||||
* Sets the token present in the CoAP header of a packet.
|
* Sets the token present in the CoAP header of a packet.
|
||||||
*/
|
*/
|
||||||
int zoap_header_set_token(struct zoap_packet *pkt, const uint8_t *token,
|
int zoap_header_set_token(struct zoap_packet *pkt, const uint8_t *token,
|
||||||
uint8_t tokenlen);
|
uint8_t tokenlen);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the code present in the header of a CoAP packet.
|
* Sets the code present in the header of a CoAP packet.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue