summaryrefslogtreecommitdiffstats
path: root/expac.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-16 18:01:12 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-16 18:04:08 -0500
commit9bc85c516bed428b1bd8520f2c371d016af67a68 (patch)
treea8506729b319624f80bc16a85a1133f46187bb4b /expac.h
parent3857cd02e80e371747005f358701a463b5365b04 (diff)
downloadexpac-9bc85c516bed428b1bd8520f2c371d016af67a68.tar.xz
move flag parsing out of expac_new
Diffstat (limited to 'expac.h')
-rw-r--r--expac.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/expac.h b/expac.h
index d3ba546..0d6c5b6 100644
--- a/expac.h
+++ b/expac.h
@@ -18,10 +18,9 @@ typedef enum SearchWhat {
typedef struct Expac {
alpm_handle_t *alpm;
- alpm_db_t *db_local;
} Expac;
-int expac_new(Expac **expac, int argc, char **argv);
+int expac_new(Expac **expac, const char *config_file);
#endif /* _EXPAC_H */