summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-07-03 06:25:48 +0200
committerJudd Vinet <judd@archlinux.org>2004-07-03 06:25:48 +0200
commitf6661379c68b541115efe25285965bbd4eb32d25 (patch)
tree270ebd31a01ead27fd676ebac673a909cfc08534 /src/util.h
parenta2ee533f84aa858df5710d799c52b7d06a77b1de (diff)
downloadpacman-f6661379c68b541115efe25285965bbd4eb32d25.tar.gz
pacman-f6661379c68b541115efe25285965bbd4eb32d25.tar.xz
Imported from pacman-2.8.tar.gz
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 94114d4e..cd6a17dd 100644
--- a/src/util.h
+++ b/src/util.h
@@ -29,7 +29,7 @@
#define FREE(p) { if (p) { free(p); (p)= NULL; }}
int gzopen_frontend(char *pathname, int oflags, int mode);
-int unpack(char *archive, char *prefix);
+int unpack(char *archive, const char *prefix, const char *fn);
int copyfile(char *src, char *dest);
int makepath(char *path);
int rmrf(char *path);
@@ -37,7 +37,7 @@ void indentprint(char *str, int indent);
int yesno(char* fmt, ...);
char* trim(char *str);
char* strtoupper(char *str);
-
+int grep(const char *fn, const char *needle);
#endif
/* vim: set ts=2 sw=2 noet: */