Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright (C) 2006-2009 Red Hat, Inc.
0003  *
0004  * This file is released under the LGPL.
0005  */
0006 
0007 #ifndef __DM_LOG_USERSPACE_TRANSFER_H__
0008 #define __DM_LOG_USERSPACE_TRANSFER_H__
0009 
0010 #define DM_MSG_PREFIX "dm-log-userspace"
0011 
0012 int dm_ulog_tfr_init(void);
0013 void dm_ulog_tfr_exit(void);
0014 int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
0015              char *data, size_t data_size,
0016              char *rdata, size_t *rdata_size);
0017 
0018 #endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */