2020-11-30 18:02:51 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* Witness Service client for CIFS
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020 Samuel Cabrero <scabrero@suse.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CIFS_SWN_H
|
|
|
|
#define _CIFS_SWN_H
|
|
|
|
|
|
|
|
struct cifs_tcon;
|
2020-11-30 18:02:52 +00:00
|
|
|
struct sk_buff;
|
|
|
|
struct genl_info;
|
2020-11-30 18:02:51 +00:00
|
|
|
|
|
|
|
extern int cifs_swn_register(struct cifs_tcon *tcon);
|
|
|
|
|
|
|
|
extern int cifs_swn_unregister(struct cifs_tcon *tcon);
|
|
|
|
|
2020-11-30 18:02:52 +00:00
|
|
|
extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info);
|
|
|
|
|
2020-11-30 18:02:53 +00:00
|
|
|
extern void cifs_swn_dump(struct seq_file *m);
|
|
|
|
|
2020-11-30 18:02:54 +00:00
|
|
|
extern void cifs_swn_check(void);
|
|
|
|
|
2020-11-30 18:02:51 +00:00
|
|
|
#endif /* _CIFS_SWN_H */
|