xref: /linux/drivers/md/dm-log-userspace-transfer.h (revision bf992fa2bc1ad1bb2aeb0bdfadb43f236b9297fd)
1 /*
2  * Copyright (C) 2006-2009 Red Hat, Inc.
3  *
4  * This file is released under the LGPL.
5  */
6 
7 #ifndef __DM_LOG_USERSPACE_TRANSFER_H__
8 #define __DM_LOG_USERSPACE_TRANSFER_H__
9 
10 #define DM_MSG_PREFIX "dm-log-userspace"
11 
12 int dm_ulog_tfr_init(void);
13 void dm_ulog_tfr_exit(void);
14 int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
15 			 char *data, size_t data_size,
16 			 char *rdata, size_t *rdata_size);
17 
18 #endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */
19