int zbx_db_fetch_webhook_params(zbx_uint64_t scriptid, zbx_vector_ptr_pair_t *params, char *error, size_t error_len)
#include "zbxexpression.h"
#include "zbx_availability_constants.h"
#include "zbx_scripts_constants.h"
#include "zbxavailability.h"
#include "zbxcacheconfig.h"
#include "zbxinterface.h"
#define REMOTE_COMMAND_NEW 0
#define REMOTE_COMMAND_RESULT_OOM 1
#define REMOTE_COMMAND_RESULT_WAIT 2
#define REMOTE_COMMAND_COMPLETED 4
static zbx_uint64_t remote_command_cache_size = 256 * ZBX_KIBIBYTE;
static zbx_mutex_t remote_commands_lock = ZBX_MUTEX_NULL;
static zbx_shmem_info_t *remote_commands_mem = NULL;
ZBX_SHMEM_FUNC_IMPL(__remote_commands, remote_commands_mem)
zbx_remote_commands_t *remote_commands = NULL;