MySQL 8.4.2
Source Code Documentation
|
#include <stdlib.h>
#include "xcom/checked_data.h"
#include "xcom/get_synode_app_data.h"
#include "xcom/synode_no.h"
#include "xcom/xcom_base.h"
#include "xcom/xcom_cache.h"
#include "xcom/xcom_memory.h"
Functions | |
static xcom_get_synode_app_data_result | can_satisfy_request (synode_no_array const *const synodes) |
static xcom_get_synode_app_data_result | have_decided_synode_app_data (synode_no const *const synode) |
static xcom_get_synode_app_data_result | prepare_reply (synode_no_array const *const synodes, synode_app_data_array *const reply) |
static xcom_get_synode_app_data_result | copy_all_synode_app_data_to_reply (synode_no_array const *const synodes, synode_app_data_array *const reply) |
static xcom_get_synode_app_data_result | copy_synode_app_data_to_reply (synode_no const *const synode, synode_app_data *const reply) |
xcom_get_synode_app_data_result | xcom_get_synode_app_data (synode_no_array const *const synodes, synode_app_data_array *const reply) |
Retrieves the application payloads decided on the given synodes. More... | |
|
static |
|
static |
|
static |
|
static |
|
static |
xcom_get_synode_app_data_result xcom_get_synode_app_data | ( | synode_no_array const *const | synodes, |
synode_app_data_array *const | reply | ||
) |
Retrieves the application payloads decided on the given synodes.
[in] | synodes | The desired synodes |
[out] | reply | The application payloads of the requested synodes |
XCOM_GET_SYNODE_APP_DATA_OK | If successful, and reply was written to |
XCOM_GET_SYNODE_APP_DATA_NOT_CACHED | If we do not have some requested synode's application payload |
XCOM_GET_SYNODE_APP_DATA_NOT_DECIDED | If we haven't yet reached consensus on some requested synode |
XCOM_GET_SYNODE_APP_DATA_NO_MEMORY | If there was an error allocating memory |
XCOM_GET_SYNODE_APP_DATA_ERROR | If there was some unspecified error |