2 * Copyright (c) 2014, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
9 * cplxdeps.h (internal)
12 #ifndef LIBSOLV_CPLXDEPS_H
13 #define LIBSOLV_CPLXDEPS_H
15 extern int pool_is_complex_dep_rd(Pool *pool, Reldep *rd);
18 pool_is_complex_dep(Pool *pool, Id dep)
22 Reldep *rd = GETRELDEP(pool, dep);
23 if (rd->flags >= 8 && pool_is_complex_dep_rd(pool, rd))
29 extern int pool_normalize_complex_dep(Pool *pool, Id dep, Queue *bq, int flags);
30 extern void pool_add_pos_literals_complex_dep(Pool *pool, Id dep, Queue *q, Map *m, int neg);
32 #define CPLXDEPS_TODNF (1 << 0)
33 #define CPLXDEPS_EXPAND (1 << 1)
34 #define CPLXDEPS_INVERT (1 << 2)
35 #define CPLXDEPS_NAME (1 << 3)
36 #define CPLXDEPS_DONTFIX (1 << 4)