splitpath.h 608 B

1234567891011121314151617181920212223242526
  1. #ifndef _SPLITPATH_H
  2. #define _SPLITPATH_H
  3. #ifndef _WIN32
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. //#define WANT_UNICODE
  8. #define WANT_ACP
  9. #ifdef WANT_UNICODE
  10. void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR* ext);
  11. void _wmakepath( WCHAR *path, const WCHAR *drive, const WCHAR *dir, const WCHAR *fname, const WCHAR *ext );
  12. #endif
  13. #ifdef WANT_ACP
  14. void _splitpath(const char* path, char* drv, char* dir, char* name, char* ext);
  15. void _makepath( char *path, const char *drive, const char *dir, const char *fname, const char *ext);
  16. #endif
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif
  21. #endif