Tizen 2.1 base
[external/device-mapper.git] / daemons / cmirrord / compat.h
1 /*
2  * Copyright (C) 2010 Red Hat, Inc. All rights reserved.
3  *
4  * This copyrighted material is made available to anyone wishing to use,
5  * modify, copy, or redistribute it subject to the terms and conditions
6  * of the GNU Lesser General Public License v.2.1.
7  */
8 #ifndef _LVM_CLOG_COMPAT_H
9 #define _LVM_CLOG_COMPAT_H
10
11 /*
12  * The intermachine communication structure version are:
13  *      0: Unused
14  *      1: Never in the wild
15  *      2: RHEL 5.2
16  *      3: RHEL 5.3
17  *      4: RHEL 5.4, RHEL 5.5
18  *      5: RHEL 6, Current Upstream Format
19  */
20 #define CLOG_TFR_VERSION 5
21
22 int clog_request_to_network(struct clog_request *rq);
23 int clog_request_from_network(void *data, size_t data_len);
24
25 #endif /* _LVM_CLOG_COMPAT_H */