blob: d3ba546ce58428abc1c98ff5d0e6b5c77e810f1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef _EXPAC_H
#define _EXPAC_H
#include <alpm.h>
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: */
|