MySQL 8.0.39
Source Code Documentation
|
#include <assert.h>
#include <rpc/rpc.h>
#include <stdlib.h>
#include "xcom/app_data.h"
#include "xcom/checked_data.h"
#include "xcom/node_list.h"
#include "xcom/node_set.h"
#include "xcom/simset.h"
#include "xcom/site_def.h"
#include "xcom/synode_no.h"
#include "xcom/task.h"
#include "xcom/task_debug.h"
#include "xcom/x_platform.h"
#include "xcom/xcom_common.h"
#include "xcom/xcom_memory.h"
#include "xcom/xcom_profile.h"
#include "xcom/xcom_vp_str.h"
#include "xcom/xdr_utils.h"
#include "xdr_gen/xcom_vp.h"
Functions | |
static app_data_list | nextp (app_data_list l) |
Return next element in list of app_data. More... | |
static char * | dbg_app_data_single (app_data_ptr a) |
Debug a single app_data struct. More... | |
app_data_ptr | clone_app_data (app_data_ptr a) |
app_data_ptr | clone_app_data_single (app_data_ptr a) |
Clone an app_data struct. More... | |
size_t | node_set_size (node_set ns) |
size_t | synode_no_array_size (synode_no_array sa) |
size_t | app_data_size (app_data const *a) |
Return size of an app_data. More... | |
size_t | app_data_list_size (app_data const *a) |
app_data_ptr | new_app_data () |
Constructor for app_data. More... | |
app_data_ptr | init_app_data (app_data_ptr retval) |
char * | dbg_app_data (app_data_ptr a) |
void | _replace_app_data_list (app_data_list target, app_data_ptr source) |
void | follow (app_data_list l, app_data_ptr p) |
Insert p after l. More... | |
unsigned long | msg_count (app_data_ptr a) |
Count the number of messages in a list. More... | |
void _replace_app_data_list | ( | app_data_list | target, |
app_data_ptr | source | ||
) |
size_t app_data_list_size | ( | app_data const * | a | ) |
size_t app_data_size | ( | app_data const * | a | ) |
Return size of an app_data.
Used both for keeping track of the size of cached data, which is OK, as long as no one steals the payload, and to control the xcom automatic batching, which is more dubious, since there we should use the length of serialized data.
app_data_ptr clone_app_data | ( | app_data_ptr | a | ) |
app_data_ptr clone_app_data_single | ( | app_data_ptr | a | ) |
Clone an app_data struct.
char * dbg_app_data | ( | app_data_ptr | a | ) |
|
static |
Debug a single app_data struct.
void follow | ( | app_data_list | l, |
app_data_ptr | p | ||
) |
Insert p after l.
app_data_ptr init_app_data | ( | app_data_ptr | retval | ) |
unsigned long msg_count | ( | app_data_ptr | a | ) |
Count the number of messages in a list.
app_data_ptr new_app_data | ( | ) |
Constructor for app_data.
|
static |
Return next element in list of app_data.
size_t node_set_size | ( | node_set | ns | ) |
size_t synode_no_array_size | ( | synode_no_array | sa | ) |