Motr  M0
cookie.h File Reference
#include "lib/types.h"
#include "lib/time.h"
#include "lib/types_xc.h"
Include dependency graph for cookie.h:

Go to the source code of this file.

Data Structures

struct  m0_ha_cookie
 
struct  m0_ha_cookie_xc
 

Macros

#define __MOTR_HA_COOKIE_H__
 

Functions

struct m0_ha_cookie_xc M0_XCA_DOMAIN (rpc)
 
M0_INTERNAL void m0_ha_cookie_init (struct m0_ha_cookie *hc)
 
M0_INTERNAL void m0_ha_cookie_fini (struct m0_ha_cookie *hc)
 
M0_INTERNAL void m0_ha_cookie_record (struct m0_ha_cookie *hc)
 
M0_INTERNAL bool m0_ha_cookie_is_eq (const struct m0_ha_cookie *a, const struct m0_ha_cookie *b)
 
M0_INTERNAL void m0_ha_cookie_from_xc (struct m0_ha_cookie *hc, const struct m0_ha_cookie_xc *hc_xc)
 
M0_INTERNAL void m0_ha_cookie_to_xc (const struct m0_ha_cookie *hc, struct m0_ha_cookie_xc *hc_xc)
 

Variables

uint64_t hcx_pid
 
uint64_t hcx_time_start
 
uint64_t hcx_uptime
 
struct m0_uint128 hcx_uuid
 
const struct m0_ha_cookie m0_ha_cookie_no_record
 

Macro Definition Documentation

◆ __MOTR_HA_COOKIE_H__

#define __MOTR_HA_COOKIE_H__

Definition at line 26 of file cookie.h.

Variable Documentation

◆ hcx_pid

uint64_t hcx_pid

Definition at line 102 of file cookie.h.

◆ hcx_time_start

uint64_t hcx_time_start

Definition at line 103 of file cookie.h.

◆ hcx_uptime

uint64_t hcx_uptime

Definition at line 104 of file cookie.h.

◆ hcx_uuid

struct m0_uint128 hcx_uuid

Definition at line 105 of file cookie.h.