mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-9952: Temporary commit for some peer review
This commit is contained in:
1 parent
2bce38afce
commit
eb57b7910e
14 files changed
+978
-154
No files matched your search
@@ -35,10 +35,17 @@
|
||||
#define _BLADE_DATASTORE_H_
|
||||
#include <blade.h>
|
||||
|
||||
#define BLADE_DATASTORE_TPOOL_MIN 2
|
||||
#define BLADE_DATASTORE_TPOOL_MAX 8
|
||||
#define BLADE_DATASTORE_TPOOL_STACK (1024 * 256)
|
||||
#define BLADE_DATASTORE_TPOOL_IDLE 10
|
||||
|
||||
KS_BEGIN_EXTERN_C
|
||||
KS_DECLARE(ks_status_t) blade_datastore_create(blade_datastore_t **bdsP, ks_pool_t *pool);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_create(blade_datastore_t **bdsP, ks_pool_t *pool, ks_thread_pool_t *tpool);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_destroy(blade_datastore_t **bdsP);
|
||||
KS_DECLARE(void) blade_datastore_pulse(blade_datastore_t *bds, int32_t timeout);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_startup(blade_datastore_t *bds, config_setting_t *config);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_shutdown(blade_datastore_t *bds);
|
||||
|
||||
KS_DECLARE(void) blade_datastore_error(blade_datastore_t *bds, const char **buffer, int32_t *buffer_length);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_store(blade_datastore_t *bds, const void *key, int32_t key_length, const void *data, int64_t data_length);
|
||||
KS_DECLARE(ks_status_t) blade_datastore_fetch(blade_datastore_t *bds,
|
||||
|
||||
Reference in new issue
Block a user