projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: tests: Add test case with valid orphan inode
[platform/upstream/btrfs-progs.git]
/
send-stream.h
diff --git
a/send-stream.h
b/send-stream.h
index
293bf6a
..
39901f8
100644
(file)
--- a/
send-stream.h
+++ b/
send-stream.h
@@
-15,13
+15,25
@@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 021110-1307, USA.
*/
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 021110-1307, USA.
*/
-#ifndef SEND_STREAM_H_
-#define SEND_STREAM_H_
+
+#ifndef __BTRFS_SEND_STREAM_H__
+#define __BTRFS_SEND_STREAM_H__
+
+/*
+ * NOTE: this file is public API, any incompatible change has to update
+ * library version
+ */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
+#if BTRFS_FLAT_INCLUDES
+#include "kerncompat.h"
+#else
+#include <btrfs/kerncompat.h>
+#endif /* BTRFS_FLAT_INCLUDES */
+
struct btrfs_send_ops {
int (*subvol)(const char *path, const u8 *uuid, u64 ctransid,
void *user);
struct btrfs_send_ops {
int (*subvol)(const char *path, const u8 *uuid, u64 ctransid,
void *user);
@@
-65,4
+77,4
@@
int btrfs_read_and_process_send_stream(int fd,
}
#endif
}
#endif
-#endif
/* SEND_STREAM_H_ */
+#endif