summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rpm/rpmfileutil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rpm/rpmfileutil.h b/include/rpm/rpmfileutil.h
index a2396d494..9d195e020 100644
--- a/include/rpm/rpmfileutil.h
+++ b/include/rpm/rpmfileutil.h
@@ -145,6 +145,13 @@ int rpmGlob(const char * pattern, int * argcPtr, ARGV_t * argvPtr);
char * rpmEscapeSpaces(const char * s);
/** \ingroup rpmfileutil
+ * Unescape each char listed in accept by removing a backslash preceding it.
+ * @param s string
+ * @param accept chars to unescape (NULL for all)
+ */
+void rpmUnescape(char *s, const char *accept);
+
+/** \ingroup rpmfileutil
* Return type of compression used in file.
* @param file name of file
* @param[out] compressed address of compression type