dm-log-userspace-transfer.h 511 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2006-2009 Red Hat, Inc.
  4. *
  5. * This file is released under the LGPL.
  6. */
  7. #ifndef __DM_LOG_USERSPACE_TRANSFER_H__
  8. #define __DM_LOG_USERSPACE_TRANSFER_H__
  9. #define DM_MSG_PREFIX "dm-log-userspace"
  10. int dm_ulog_tfr_init(void);
  11. void dm_ulog_tfr_exit(void);
  12. int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
  13. char *data, size_t data_size,
  14. char *rdata, size_t *rdata_size);
  15. #endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */