mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
expose random api
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
9e4c2b6e35
commit
8acc194dc2
2 changed files with 4 additions and 4 deletions
|
@ -636,6 +636,10 @@ extern void
|
|||
libwebsocket_close_and_free_session(struct libwebsocket_context *context,
|
||||
struct libwebsocket *wsi, enum lws_close_status);
|
||||
|
||||
extern int
|
||||
libwebsockets_get_random(struct libwebsocket_context *context,
|
||||
void *buf, int len);
|
||||
|
||||
extern struct libwebsocket_extension libwebsocket_internal_extensions[];
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
|
@ -331,10 +331,6 @@ extern void
|
|||
libwebsocket_set_timeout(struct libwebsocket *wsi,
|
||||
enum pending_timeout reason, int secs);
|
||||
|
||||
extern int
|
||||
libwebsockets_get_random(struct libwebsocket_context *context,
|
||||
void *buf, int len);
|
||||
|
||||
extern int
|
||||
lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue