summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-05 20:49:32 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-05 20:49:32 +0000
commitd7e781a54bc8aad793abd51fdb5f8f1c7cdae7ad (patch)
tree29ee876df87762e7ae7313ee962b39ea604b6250 /lib/libalpm/package.h
parentd78bb4f37ae58c55a72b5d52f030eb64fa6d6e75 (diff)
downloadpacman-d7e781a54bc8aad793abd51fdb5f8f1c7cdae7ad.tar.xz
Added a PKG_FULLNAME_LEN macro
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index a5b39b77..a6b8b224 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -30,6 +30,7 @@ enum {
#define PKG_NAME_LEN 256
#define PKG_VERSION_LEN 64
+#define PKG_FULLNAME_LEN (PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1
#define PKG_DESC_LEN 512
#define PKG_URL_LEN 256
#define PKG_DATE_LEN 32