1
0
Fork 0
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:
Andy Green 2011-03-07 20:47:40 +00:00
parent 9e4c2b6e35
commit 8acc194dc2
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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);