diff options
author | Daniel Campora <daniel@wipy.io> | 2015-06-11 20:26:24 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-07-02 16:30:00 +0200 |
commit | 9a65fa304c151f796ecfd040b0744ed7cdc88537 (patch) | |
tree | 2d953bd10cca04a968880157ecabadb80cd2644e /cc3200/mods/modusocket.h | |
parent | 7c1c9af5d42bf4b922945cfa8398c9fc5610d3b4 (diff) | |
download | micropython-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/modusocket.h')
-rw-r--r-- | cc3200/mods/modusocket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc3200/mods/modusocket.h b/cc3200/mods/modusocket.h index c2c055325e..851f8e5be7 100644 --- a/cc3200/mods/modusocket.h +++ b/cc3200/mods/modusocket.h @@ -27,6 +27,9 @@ #ifndef MODUSOCKET_H_ #define MODUSOCKET_H_ +extern const mp_obj_dict_t socket_locals_dict; +extern const mp_stream_p_t socket_stream_p; + extern void modusocket_pre_init (void); extern void modusocket_socket_add (int16_t sd, bool user); extern void modusocket_socket_delete (int16_t sd); |