29#include "xdr_gen/xcom_vp.h"
31#define copy_app_data(target, source) \
33 IFDBG(D_NONE, FN; STRLIT(" copy_app_data "); PTREXP(target); \
34 PTREXP(*target); PTREXP(source)); \
35 _replace_app_data_list(target, source); \
38#define steal_app_data(target, source) \
40 (target) = (source); \
56void follow(app_data_list l, app_data_ptr
p);
void _replace_app_data_list(app_data_list target, app_data_ptr source)
Definition: app_data.cc:340
unsigned long msg_count(app_data_ptr a)
Count the number of messages in a list.
Definition: app_data.cc:368
size_t app_data_list_size(app_data const *a)
Definition: app_data.cc:289
void follow(app_data_list l, app_data_ptr p)
Insert p after l.
Definition: app_data.cc:349
app_data_ptr new_nodes(u_int n, node_address *names, cargo_type cargo)
app_data_ptr new_data(u_int n, char *val, cons_type consensus)
app_data_ptr new_reset(cargo_type type)
size_t app_data_size(app_data const *a)
Return size of an app_data.
Definition: app_data.cc:247
app_data_ptr clone_app_data_single(app_data_ptr a)
Clone an app_data struct.
Definition: app_data.cc:156
app_data_ptr new_app_data()
Constructor for app_data.
Definition: app_data.cc:306
app_data_ptr clone_app_data(app_data_ptr a)
Definition: app_data.cc:136
char * dbg_app_data(app_data_ptr a)
Definition: app_data.cc:320
app_data_ptr init_app_data(app_data_ptr a)
Definition: app_data.cc:312
const char * p
Definition: ctype-mb.cc:1225
repeated Source source
Definition: replication_asynchronous_connection_failover.proto:42
required string type
Definition: replication_group_member_actions.proto:34
__u_int u_int
Definition: types.h:73
int n
Definition: xcom_base.cc:509