mirror of https://github.com/ARMmbed/mbed-os.git
fix a style convention
parent
b91836a94d
commit
90e188b23a
|
@ -33,7 +33,7 @@ public:
|
||||||
*
|
*
|
||||||
* @note Must call open to initialize the socket on a network stack.
|
* @note Must call open to initialize the socket on a network stack.
|
||||||
*/
|
*/
|
||||||
RAWIPSocket();
|
RAWIPSocket();
|
||||||
|
|
||||||
/** Create and open a socket on the network stack of the given
|
/** Create and open a socket on the network stack of the given
|
||||||
* network interface.
|
* network interface.
|
||||||
|
@ -150,8 +150,8 @@ public:
|
||||||
* @return Number of received bytes on success, negative error
|
* @return Number of received bytes on success, negative error
|
||||||
* code on failure.
|
* code on failure.
|
||||||
*/
|
*/
|
||||||
virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size);
|
virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size);
|
||||||
|
|
||||||
/** Not implemented for RAWIPSocket.
|
/** Not implemented for RAWIPSocket.
|
||||||
*
|
*
|
||||||
* @param error Not used.
|
* @param error Not used.
|
||||||
|
|
|
@ -215,7 +215,7 @@ typedef void *nsapi_socket_t;
|
||||||
typedef enum nsapi_protocol {
|
typedef enum nsapi_protocol {
|
||||||
NSAPI_TCP, /*!< Socket is of TCP type */
|
NSAPI_TCP, /*!< Socket is of TCP type */
|
||||||
NSAPI_UDP, /*!< Socket is of UDP type */
|
NSAPI_UDP, /*!< Socket is of UDP type */
|
||||||
NSAPI_ICMP, /*!< Socket is of ICMP type */
|
NSAPI_ICMP, /*!< Socket is of ICMP type */
|
||||||
} nsapi_protocol_t;
|
} nsapi_protocol_t;
|
||||||
|
|
||||||
/** Enum of standardized stack option levels
|
/** Enum of standardized stack option levels
|
||||||
|
|
Loading…
Reference in New Issue