summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2007-09-28 06:03:35 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2007-09-28 07:25:57 +0200
commit4942d216323cbe2f099c43893cc95368a3cd1197 (patch)
treeec99167060320472eb637a0ae99f7c3872bc6435 /src/pacman/util.h
parent50bb16e0151e31479cb2602c9749ffe18f7a3592 (diff)
downloadpacman-4942d216323cbe2f099c43893cc95368a3cd1197.tar.gz
pacman-4942d216323cbe2f099c43893cc95368a3cd1197.tar.xz
Break out transaction test to a separate function
Added needs_transaction, putting out "hey do we need root?" tests in one place. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 62812441..73347fe8 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -38,6 +38,7 @@
#define _(str) str
#endif
+int needs_transaction();
int getcols();
int makepath(const char *path);
int rmrf(const char *path);