summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/modwlan.h
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-06-11 20:26:24 +0200
committerDaniel Campora <daniel@wipy.io>2015-07-02 16:30:00 +0200
commit9a65fa304c151f796ecfd040b0744ed7cdc88537 (patch)
tree2d953bd10cca04a968880157ecabadb80cd2644e /cc3200/mods/modwlan.h
parent7c1c9af5d42bf4b922945cfa8398c9fc5610d3b4 (diff)
downloadmicropython-9a65fa304c151f796ecfd040b0744ed7cdc88537.tar.gz
micropython-9a65fa304c151f796ecfd040b0744ed7cdc88537.zip
cc3200: Add modussl, ssl sockets subclassed from normal sockets.
Stream methods were added to normal sockets as in the unix port.
Diffstat (limited to 'cc3200/mods/modwlan.h')
-rw-r--r--cc3200/mods/modwlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/modwlan.h b/cc3200/mods/modwlan.h
index a811afdd78..c17a6e0b38 100644
--- a/cc3200/mods/modwlan.h
+++ b/cc3200/mods/modwlan.h
@@ -75,7 +75,7 @@ extern int wlan_socket_send(mod_network_socket_obj_t *s, const byte *buf, mp_uin
extern int wlan_socket_recv(mod_network_socket_obj_t *s, byte *buf, mp_uint_t len, int *_errno);
extern int wlan_socket_sendto( mod_network_socket_obj_t *s, const byte *buf, mp_uint_t len, byte *ip, mp_uint_t port, int *_errno);
extern int wlan_socket_recvfrom(mod_network_socket_obj_t *s, byte *buf, mp_uint_t len, byte *ip, mp_uint_t *port, int *_errno);
-extern int wlan_socket_setsockopt(mod_network_socket_obj_t *socket, mp_uint_t level, mp_uint_t opt, const void *optval, mp_uint_t optlen, int *_errno);
+extern int wlan_socket_setsockopt(mod_network_socket_obj_t *s, mp_uint_t level, mp_uint_t opt, const void *optval, mp_uint_t optlen, int *_errno);
extern int wlan_socket_settimeout(mod_network_socket_obj_t *s, mp_uint_t timeout_s, int *_errno);
extern int wlan_socket_ioctl (mod_network_socket_obj_t *s, mp_uint_t request, mp_uint_t arg, int *_errno);