Lines Matching refs:RWS_API

98 #define RWS_API(return_type) RWS_EXTERN RWS_ATTRIB RWS_DYLIB_API return_type  macro
197 RWS_API(rws_socket) rws_socket_create(void);
212 RWS_API(void) rws_socket_set_url(rws_socket socket,
227 RWS_API(void) rws_socket_set_scheme(rws_socket socket, const char * scheme);
235 RWS_API(const char *) rws_socket_get_scheme(rws_socket socket);
246 RWS_API(void) rws_socket_set_host(rws_socket socket, const char * host);
254 RWS_API(const char *) rws_socket_get_host(rws_socket socket);
265 RWS_API(void) rws_socket_set_port(rws_socket socket, const int port);
273 RWS_API(int) rws_socket_get_port(rws_socket socket);
285 RWS_API(void) rws_socket_set_path(rws_socket socket, const char * path);
293 RWS_API(const char *) rws_socket_get_path(rws_socket socket);
305 RWS_API(void) rws_socket_set_protocol(rws_socket socket, const char * protocol);
314 RWS_API(void) rws_socket_set_server_cert(rws_socket socket, const char *server_cert, int server_cer…
323 RWS_API(rws_error) rws_socket_get_error(rws_socket socket);
332 RWS_API(rws_bool) rws_socket_connect(rws_socket socket);
342 RWS_API(void) rws_socket_disconnect_and_release(rws_socket socket);
351 RWS_API(rws_bool) rws_socket_is_connected(rws_socket socket);
361 RWS_API(rws_bool) rws_socket_send_text(rws_socket socket, const char * text);
369 RWS_API(void) rws_socket_set_user_object(rws_socket socket, void * user_object);
377 RWS_API(void *) rws_socket_get_user_object(rws_socket socket);
380 RWS_API(void) rws_socket_set_on_connected(rws_socket socket, rws_on_socket callback);
383 RWS_API(void) rws_socket_set_on_disconnected(rws_socket socket, rws_on_socket callback);
386 RWS_API(void) rws_socket_set_on_received_text(rws_socket socket, rws_on_socket_recvd_text callback);
389 RWS_API(void) rws_socket_set_on_received_bin(rws_socket socket, rws_on_socket_recvd_bin callback);
395 RWS_API(void) rws_socket_set_on_received_pong(rws_socket socket, rws_on_socket_recvd_pong callback);
402 RWS_API(void) rws_socket_set_on_send_ping(rws_socket socket, rws_on_socket_send_ping callback);
413 RWS_API(rws_bool) rws_socket_send_bin_start(rws_socket socket, const char *bin, size_t len);
423 RWS_API(rws_bool) rws_socket_send_bin_continue(rws_socket socket, const char *bin, size_t len);
434 RWS_API(rws_bool) rws_socket_send_bin_finish(rws_socket socket, const char * bin, size_t len);
443 RWS_API(rws_bool) rws_socket_send_ping(rws_socket socket);
470 RWS_API(int) rws_error_get_code(rws_error error);
476 RWS_API(int) rws_error_get_http_error(rws_error error);
482 RWS_API(const char *) rws_error_get_description(rws_error error);
490 RWS_API(rws_mutex) rws_mutex_create_recursive(void);
496 RWS_API(void) rws_mutex_lock(rws_mutex mutex);
502 RWS_API(void) rws_mutex_unlock(rws_mutex mutex);
509 RWS_API(void) rws_mutex_delete(rws_mutex mutex);
516 RWS_API(rws_sem) rws_sem_create(void);
522 RWS_API(void) rws_sem_signal(rws_sem sem);
528 RWS_API(int) rws_sem_wait(rws_sem sem, unsigned int timeout);
534 RWS_API(void) rws_sem_delete(rws_sem sem);
542 RWS_API(rws_thread) rws_thread_create(rws_thread_funct thread_function, void * user_object);
548 RWS_API(void) rws_thread_sleep(const unsigned int millisec);