Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / drivers / md / dm-log-userspace-transfer.h
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, 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__ */