kdbus: the driver, original and non-working
[platform/kernel/linux-exynos.git] / ipc / kdbus / fs.h
1 /*
2  * Copyright (C) 2013-2015 Kay Sievers
3  * Copyright (C) 2013-2015 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4  * Copyright (C) 2013-2015 Daniel Mack <daniel@zonque.org>
5  * Copyright (C) 2013-2015 David Herrmann <dh.herrmann@gmail.com>
6  * Copyright (C) 2013-2015 Linux Foundation
7  *
8  * kdbus is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at
11  * your option) any later version.
12  */
13
14 #ifndef __KDBUSFS_H
15 #define __KDBUSFS_H
16
17 #include <linux/kernel.h>
18
19 struct kdbus_node;
20
21 int kdbus_fs_init(void);
22 void kdbus_fs_exit(void);
23 void kdbus_fs_flush(struct kdbus_node *node);
24
25 #define kdbus_node_from_inode(_inode) \
26         ((struct kdbus_node *)(_inode)->i_private)
27
28 #endif