aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2005-01-16 22:00:17 +0000
committerJason Woodward2005-01-16 22:00:17 +0000
commit8523d1c37edddcda27b96c77483c19e6469b89f0 (patch)
tree75f52ef40922eeab460101ba67f477dad3f193fe /src/common.h
parent2cf19ce8b3eb76c64aace7c97e961a5795145e23 (diff)
downloadslapt-get-8523d1c37edddcda27b96c77483c19e6469b89f0.tar.gz
added bool free_pkgs member to pkg_list struct so all pkg_lists are free'd uniformly using free_pkg_list, even if their pkg list is pointers to pkg objects in other lists
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 98bbd9a..d8edcbb 100644
--- a/src/common.h
+++ b/src/common.h
@@ -20,6 +20,7 @@
#define MAX_REGEX_PARTS 10
#define SLACK_BASE_SET_REGEX "^./slackware/a$"
+typedef enum { FALSE = 0, TRUE } bool;
typedef struct {
regex_t regex;