summaryrefslogtreecommitdiffstats
path: root/src/common/util-common.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-06-26 17:50:34 +0200
committerAllan McRae <allan@archlinux.org>2014-08-03 10:46:32 +0200
commite8de265f8039165dc32ffb78f6a6a5eb0c1514ad (patch)
tree83363a49ca0e14815e2f866d8682a3cb905a4cfe /src/common/util-common.h
parent0e2db97a42df30d2731e4842b245191a68817d78 (diff)
downloadpacman-e8de265f8039165dc32ffb78f6a6a5eb0c1514ad.tar.gz
pacman-e8de265f8039165dc32ffb78f6a6a5eb0c1514ad.tar.xz
move _alpm_lstat into util-common
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'src/common/util-common.h')
-rw-r--r--src/common/util-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util-common.h b/src/common/util-common.h
index e28c60d9..5f04b00c 100644
--- a/src/common/util-common.h
+++ b/src/common/util-common.h
@@ -20,9 +20,13 @@
#ifndef _PM_UTIL_COMMON_H
#define _PM_UTIL_COMMON_H
+#include <sys/stat.h> /* struct stat */
+
const char *mbasename(const char *path);
char *mdirname(const char *path);
+int llstat(const char *path, struct stat *buf);
+
#ifndef HAVE_STRNDUP
char *strndup(const char *s, size_t n);
#endif