vmrcli/include/util.h
onyx-and-iris b35a29396b add -I flag for disabling >> on the interactive prompt
return early from parse_input() if input is a comment

add comments to example_commands.txt

upd README.

minor ver bump
2024-07-10 10:51:53 +01:00

16 lines
421 B
C

/**
* 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.
*/
#ifndef __UTIL_H__
#define __UTIL_H__
void remove_last_part_of_path(char *fullpath);
char *kind_as_string(char *s, int kind, int n);
char *version_as_string(char *s, long v, int n);
bool is_comment(char *s);
#endif /* __UTIL_H__ */