#define DPKG_BEGIN_DECLS
Definition macros.h:164
#define DPKG_END_DECLS
Definition macros.h:165
char * path_make_temp_template(const char *suffix)
Create a template for a temporary pathname.
Definition path.c:103
const char * path_skip_slash_dotslash(const char *path)
Skip ‘/’ and ‘.
Definition path.c:68
char * path_quote_filename(char *dst, const char *src, size_t size)
Escape characters in a pathname for safe locale printing.
Definition path.c:132
int secure_unlink_statted(const char *pathname, const struct stat *stab)
Definition path-remove.c:38
const char * path_basename(const char *path)
Return the last component of a pathname.
Definition path.c:84
int secure_remove(const char *pathname)
Securely remove a pathname.
Definition path-remove.c:87
void path_remove_tree(const char *pathname)
Remove a pathname and anything below it.
Definition path-remove.c:120
size_t path_trim_slash_slashdot(char *path)
Trim ‘/’ and ‘/.
Definition path.c:43
int secure_unlink(const char *pathname)
Securely unlink a pathname.
Definition path-remove.c:67