mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
3bd9400307
'GPL-2.0-only' is used instead of 'GPL-2.0' because SPDX has deprecated its use. Suggested-by: John Wiele <jwiele@redhat.com> Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
20 lines
511 B
C
20 lines
511 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2006-2009 Red Hat, Inc.
|
|
*
|
|
* This file is released under the LGPL.
|
|
*/
|
|
|
|
#ifndef __DM_LOG_USERSPACE_TRANSFER_H__
|
|
#define __DM_LOG_USERSPACE_TRANSFER_H__
|
|
|
|
#define DM_MSG_PREFIX "dm-log-userspace"
|
|
|
|
int dm_ulog_tfr_init(void);
|
|
void dm_ulog_tfr_exit(void);
|
|
int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
|
|
char *data, size_t data_size,
|
|
char *rdata, size_t *rdata_size);
|
|
|
|
#endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */
|