GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_user_path.h
Go to the documentation of this file.
1//SPDX-License-Identifier: LGPL-2.0-or-later
2
3/*
4
5 Copyright (c) 2022-2023 Cyril Hrubis <metan@ucw.cz>
6
7 */
8
14#ifndef GP_USER_PATH_H
15#define GP_USER_PATH_H
16
17#include <utils/gp_path.h>
18
28char *gp_user_path(const char *path, const char *file_name);
29
40int gp_user_mkpath(const char *path, enum gp_mkpath_flags flags);
41
42#endif /* GP_USER_PATH_H */
Utility functions for building paths.
gp_mkpath_flags
Definition gp_path.h:40
int gp_user_mkpath(const char *path, enum gp_mkpath_flags flags)
Creates a path, if it does not exists.
char * gp_user_path(const char *path, const char *file_name)
Prepares a buffer with a path.