2021-10-24 11:46:30 -04:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup tls_js TLS Interface
|
|
|
|
** Exposes \ref tls to JS.
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2021-10-24 11:46:30 -04:00
|
|
|
#include "quickjs.h"
|
|
|
|
|
|
|
|
typedef struct _tf_tls_context_t tf_tls_context_t;
|
|
|
|
|
|
|
|
JSValue tf_tls_context_register(JSContext* context);
|
|
|
|
tf_tls_context_t* tf_tls_context_get(JSValue value);
|
|
|
|
int tf_tls_context_get_count();
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|