Motr  M0
cookie.c File Reference
#include "lib/trace.h"
#include "ha/cookie.h"
#include "lib/misc.h"
#include "lib/thread.h"
#include "lib/types.h"
#include "lib/uuid.h"
Include dependency graph for cookie.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_HA
 
#define HACO_F
 
#define HACO_P(_hc)
 

Functions

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

const struct m0_ha_cookie m0_ha_cookie_no_record