partition_block_device.h 858 B

12345678910111213141516171819202122232425262728293031
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _PARTITION_BLOCK_DEVICE_H_
  13. #define _PARTITION_BLOCK_DEVICE_H_
  14. #include "block_device.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. blockDevice_t *partBlockDeviceCreate(
  19. blockDevice_t *parent,
  20. uint64_t offset,
  21. uint64_t count);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif