blob: 32e38c93f2db01ff7c5b8e4c4ada5899ad49a0ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
This file is part of GlusterFS.
This file is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3 or
later), or the GNU General Public License, version 2 (GPLv2), in all
cases as published by the Free Software Foundation.
*/
#ifndef _FDL_H_
#define _FDL_H_
#define NEW_REQUEST (uint8_t)'N'
typedef struct {
uint8_t event_type; /* e.g. NEW_REQUEST */
uint8_t fop_type; /* e.g. GF_FOP_SETATTR */
uint16_t request_id;
uint32_t ext_length;
} event_header_t;
enum {
FDL_IPC_BASE = 0xfeedbee5, /* ... and they make honey */
FDL_IPC_CHANGE_TERM,
FDL_IPC_GET_TERMS,
FDL_IPC_JBR_SERVER_ROLLBACK
};
#endif /* _FDL_H_ */
|