summaryrefslogtreecommitdiffstats
path: root/expac.h
blob: 32e8cff5e53c52ed1cf956f244a6ead78d77580b (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
#ifndef _EXPAC_H
#define _EXPAC_H

#include <alpm.h>

typedef enum package_corpus_t {
  CORPUS_LOCAL,
  CORPUS_SYNC,
  CORPUS_FILE,
} package_corpus_t;

typedef enum search_what_t {
  SEARCH_EXACT,
  SEARCH_GROUPS,
  SEARCH_REGEX,
} search_what_t;

typedef struct expac_t {
  alpm_handle_t *alpm;
} expac_t;

#endif  /* _EXPAC_H */

/* vim: set et ts=2 sw=2: */