MySQL 9.1.0
Source Code Documentation
pax_msg.cc File Reference
#include <assert.h>
#include <rpc/rpc.h>
#include <stdlib.h>
#include "xcom/app_data.h"
#include "xcom/bitset.h"
#include "xcom/node_no.h"
#include "xcom/pax_msg.h"
#include "xcom/server_struct.h"
#include "xcom/simset.h"
#include "xcom/site_def.h"
#include "xcom/site_struct.h"
#include "xcom/synode_no.h"
#include "xcom/task.h"
#include "xcom/task_debug.h"
#include "xcom/xcom_base.h"
#include "xcom/xcom_common.h"
#include "xcom/xcom_detector.h"
#include "xcom/xcom_memory.h"
#include "xcom/xcom_profile.h"
#include "xcom/xcom_vp_str.h"
#include "xdr_gen/xcom_vp.h"

Functions

static pax_msginit_pax_msg (pax_msg *p, int refcnt, synode_no synode, site_def const *site)
 
pax_msgpax_msg_new (synode_no synode, site_def const *site)
 
pax_msgpax_msg_new_0 (synode_no synode)
 
pax_msgclone_pax_msg_no_app (pax_msg *msg)
 
pax_msgclone_pax_msg (pax_msg *msg)
 
void delete_pax_msg (pax_msg *p)
 
int ref_msg (pax_msg *p)
 
int unref_msg (pax_msg **pp)
 
void unchecked_replace_pax_msg (pax_msg **target, pax_msg *p)
 
ballot * init_ballot (ballot *bal, int cnt, node_no node)
 
int eq_ballot (ballot x, ballot y)
 
int gt_ballot (ballot x, ballot y)
 

Function Documentation

◆ clone_pax_msg()

pax_msg * clone_pax_msg ( pax_msg msg)

◆ clone_pax_msg_no_app()

pax_msg * clone_pax_msg_no_app ( pax_msg msg)

◆ delete_pax_msg()

void delete_pax_msg ( pax_msg p)

◆ eq_ballot()

int eq_ballot ( ballot  x,
ballot  y 
)

◆ gt_ballot()

int gt_ballot ( ballot  x,
ballot  y 
)

◆ init_ballot()

ballot * init_ballot ( ballot *  bal,
int  cnt,
node_no  node 
)

◆ init_pax_msg()

static pax_msg * init_pax_msg ( pax_msg p,
int  refcnt,
synode_no  synode,
site_def const *  site 
)
static

◆ pax_msg_new()

pax_msg * pax_msg_new ( synode_no  synode,
site_def const *  site 
)

◆ pax_msg_new_0()

pax_msg * pax_msg_new_0 ( synode_no  synode)

◆ ref_msg()

int ref_msg ( pax_msg p)

◆ unchecked_replace_pax_msg()

void unchecked_replace_pax_msg ( pax_msg **  target,
pax_msg p 
)

◆ unref_msg()

int unref_msg ( pax_msg **  pp)