summaryrefslogtreecommitdiffstats
path: root/expac.h
blob: b3acd4a8be14223514369df11db876d3b372dc09 (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 PackageCorpus {
  CORPUS_LOCAL,
  CORPUS_SYNC,
  CORPUS_FILE,
} PackageCorpus;

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

typedef struct Expac {
  alpm_handle_t *alpm;
} Expac;

#endif  /* _EXPAC_H */

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