path.h 343 B

12345678910111213141516171819
  1. #pragma once
  2. #include <m-string.h>
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /**
  7. * @brief Extract filename without extension from path.
  8. *
  9. * @param path path string
  10. * @param filename output filename string. Must be initialized before.
  11. */
  12. void path_extract_filename_no_ext(const char* path, string_t filename);
  13. #ifdef __cplusplus
  14. }
  15. #endif