diff options
author | Darin Willits <darin@willits.ca> | 2011-02-14 17:52:39 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-02-14 17:52:39 +0000 |
commit | c19456f64a8f3369ae6b32581553753c80e2881d (patch) | |
tree | 0d350846c4da86d0178bc59e62ece36113752eb1 /libwebsockets-api-doc.html | |
parent | 62c54d2f563b346689fb0a1c1051a9bf075b38e0 (diff) |
Apple / iOS build compatability patch
This allows build on iOS platform, thanks Darin!
Signed-off-by: Darin Willits <darin@willits.ca>
Diffstat (limited to 'libwebsockets-api-doc.html')
-rw-r--r-- | libwebsockets-api-doc.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html index 3f080b2..feb6638 100644 --- a/libwebsockets-api-doc.html +++ b/libwebsockets-api-doc.html @@ -440,7 +440,7 @@ This function creates a connection to a remote server <h2>callback - User server actions</h2> <i>int</i> <b>callback</b> -(<i>struct libwebsocket_context *</i> <b>this</b>, +(<i>struct libwebsocket_context *</i> <b>context</b>, <i>struct libwebsocket *</i> <b>wsi</b>, <i>enum libwebsocket_callback_reasons</i> <b>reason</b>, <i>void *</i> <b>user</b>, @@ -448,8 +448,6 @@ This function creates a connection to a remote server <i>size_t</i> <b>len</b>) <h3>Arguments</h3> <dl> -<dt><b>this</b> -<dd>Websockets context <dt><b>wsi</b> <dd>Opaque websocket instance pointer <dt><b>reason</b> @@ -604,7 +602,7 @@ internal polling loop, you can just ignore it. <h2>struct libwebsocket_protocols - List of protocols and handlers server supports.</h2> <b>struct libwebsocket_protocols</b> {<br> <i>const char *</i> <b>name</b>;<br> - <i>int (*</i><b>callback</b>) <i>(struct libwebsocket_context * this,struct libwebsocket *wsi,enum libwebsocket_callback_reasons reason, void *user,void *in, size_t len)</i>;<br> + <i>int (*</i><b>callback</b>) <i>(struct libwebsocket_context * context,struct libwebsocket *wsi,enum libwebsocket_callback_reasons reason, void *user,void *in, size_t len)</i>;<br> <i>size_t</i> <b>per_session_data_size</b>;<br> <i>struct libwebsocket_context *</i> <b>owning_server</b>;<br> <i>int</i> <b>broadcast_socket_port</b>;<br> |