#include <config.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <sys/uio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <time.h>
#include <arpa/inet.h>
#include <corosync/corotypes.h>
#include <corosync/swab.h>
#include <corosync/totem/totempg.h>
#include <corosync/totem/totem.h>
#include <corosync/logsys.h>
#include <qb/qbipc_common.h>
#include "schedwrk.h"
#include "quorum.h"
#include "sync.h"
#include "main.h"
Go to the source code of this file.
#define MESSAGE_REQ_SYNC_BARRIER 0 |
#define MESSAGE_REQ_SYNC_SERVICE_BUILD 1 |
Enumerator |
---|
PROCESS |
|
ACTIVATE |
|
Definition at line 66 of file sync.c.
Enumerator |
---|
SYNC_SERVICELIST_BUILD |
|
SYNC_PROCESS |
|
SYNC_BARRIER |
|
Definition at line 71 of file sync.c.
LOGSYS_DECLARE_SUBSYS |
( |
"SYNC" |
| ) |
|
int sync_init |
( |
int(*)(int service_id, struct sync_callbacks *callbacks) |
sync_callbacks_retrieve, |
|
|
void(*)(void) |
synchronization_completed |
|
) |
| |
void sync_save_transitional |
( |
const unsigned int * |
member_list, |
|
|
size_t |
member_list_entries, |
|
|
const struct memb_ring_id * |
ring_id |
|
) |
| |
void sync_start |
( |
const unsigned int * |
member_list, |
|
|
size_t |
member_list_entries, |
|
|
const struct memb_ring_id * |
ring_id |
|
) |
| |
int(* my_sync_callbacks_retrieve) (int service_id, struct sync_callbacks *callbacks) |