36dd28e9557a1bbd14e86ffecc6558d2f09b86d0
[oweals/opkg-lede.git] / opkg_state.h
1 /* opkg_state.c - the opkg package management system
2
3    Thomas Wood <thomas@openedhand.com>
4
5    Copyright (C) 2008 by OpenMoko Inc
6
7    This program is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License as
9    published by the Free Software Foundation; either version 2, or (at
10    your option) any later version.
11
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16 */
17
18 #ifndef OPKG_STATE_H
19 #define OPKG_STATE_H
20
21 typedef enum _opkg_state {
22   OPKG_STATE_NONE,
23   OPKG_STATE_DOWNLOADING_PKG,
24   OPKG_STATE_INSTALLING_PKG,
25   OPKG_STATE_CONFIGURING_PKG,
26   OPKG_STATE_UPGRADING_PKG,
27   OPKG_STATE_REMOVING_PKG,
28   OPKG_STATE_DOWNLOADING_REPOSITORY,
29   OPKG_STATE_VERIFYING_REPOSITORY_SIGNATURE
30 } opkg_state_t;
31
32 #endif /* OPKG_STATE_H */