Jonthan Brassow | f5db4af | 2009-06-22 10:12:35 +0100 | [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); |
Jonathan Brassow | 7ec23d5 | 2009-09-04 20:40:34 +0100 | [diff] [blame] | 14 | int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type, |
Jonthan Brassow | f5db4af | 2009-06-22 10:12:35 +0100 | [diff] [blame] | 15 | char *data, size_t data_size, |
| 16 | char *rdata, size_t *rdata_size); |
| 17 | |
| 18 | #endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */ |