1
#ifndef CEPH_WS_TYPES_H
2
#define CEPH_WS_TYPES_H
10
// this is needed for ceph_fs to compile in userland
15
typedef __int64 __s64;
16
typedef unsigned char __u8;
17
typedef unsigned short __u16;
18
typedef unsigned int __u32;
19
typedef unsigned __int64 __u64;
23
#define __attribute__(x)
24
#define O_ACCMODE (O_RDONLY | O_RDWR | O_WRONLY)
27
#include <netinet/in.h>
28
#include <linux/types.h>
32
#define le16_to_cpu(x) (x)
33
#define le32_to_cpu(x) (x)
34
#define le64_to_cpu(x) (x)
37
typedef guint32 uint32_t;