2024-07-06 09:03:13 +01:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2024 Onyx and Iris
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the MIT license. See `util.c` for details.
|
|
|
|
*/
|
|
|
|
|
2024-06-27 19:18:28 +01:00
|
|
|
#ifndef __UTIL_H__
|
|
|
|
#define __UTIL_H__
|
|
|
|
|
2024-06-28 03:21:38 +01:00
|
|
|
void remove_name_in_path(char *szPath);
|
2024-06-29 03:05:51 +01:00
|
|
|
int replace_multiple_space_with_one(char *s, size_t len);
|
2024-07-03 15:24:44 +01:00
|
|
|
char *kind_as_string(char *s, int kind, int n);
|
2024-06-28 03:21:38 +01:00
|
|
|
char *version_as_string(char *, long v, int n);
|
2024-06-27 19:18:28 +01:00
|
|
|
|
|
|
|
#endif /* __UTIL_H__ */
|