The util_make_filename function concatenates a directory name and a filename into a newly created string. This can be handy when you are dealing with a number of files that all go to the same directory.
#include <libproxy/cutil.h> char *util_make_filename(char *root, char *name);
A new string containing the directory name concatenated with the filename.
char *root is a string containing the directory name.
char *name is a string containing the filename.