cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

path_ops.h (566B)


      1// This is free and unencumbered software released into the public domain.
      2// For more information, please refer to <https://unlicense.org>
      3// bbbbbr 2020
      4
      5#ifndef _PATH_OPS_H
      6#define _PATH_OPS_H
      7
      8void filename_replace_extension(char * filename, char * new_ext, size_t maxlen);
      9void filename_replace_path(char * filename, char * new_path, size_t maxlen);
     10const char * get_filename_from_path(const char * path);
     11void filename_remove_extension(char * path);
     12bool get_path_without_filename(const char * path, char * path_only, uint32_t str_max);
     13
     14
     15#endif // _PATH_OPS_H