rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 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__ */ |