2 * Copyright (c) 2007, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
13 #ifndef LIBSOLV_SELECTION_H
14 #define LIBSOLV_SELECTION_H
18 #define SELECTION_NAME (1 << 0)
19 #define SELECTION_PROVIDES (1 << 1)
20 #define SELECTION_FILELIST (1 << 2)
22 #define SELECTION_INSTALLED_ONLY (1 << 8)
23 #define SELECTION_GLOB (1 << 9)
24 #define SELECTION_FLAT (1 << 10)
25 #define SELECTION_NOCASE (1 << 11)
26 #define SELECTION_SOURCE_ONLY (1 << 12)
27 #define SELECTION_WITH_SOURCE (1 << 13)
29 extern int selection_make(Pool *pool, Queue *selection, const char *name, int flags);
30 extern void selection_limit(Pool *pool, Queue *sel1, Queue *sel2);
31 extern void selection_add(Pool *pool, Queue *sel1, Queue *sel2);
32 extern void selection_solvables(Pool *pool, Queue *selection, Queue *pkgs);