#ifndef _EXPAC_H #define _EXPAC_H #include typedef enum PackageCorpus { CORPUS_LOCAL, CORPUS_SYNC, CORPUS_FILE, } PackageCorpus; typedef enum SearchWhat { SEARCH_GROUPS = (1 << 0), SEARCH_REGEX = (1 << 1), SEARCH_EXACT = (1 << 2), _SEARCH_MAX = (1 << 15), } SearchWhat; typedef struct Expac { alpm_handle_t *alpm; alpm_db_t *db_local; } Expac; int expac_new(Expac **expac, int argc, char **argv); #endif /* _EXPAC_H */ /* vim: set et ts=2 sw=2: */