libopkg: support passing default state flags in pkg_hash_load_feeds()
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 11:16:29 +0000 (12:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:30 +0000 (17:02 +0100)
commit4283ab3c37ebe4deb670dd049857b020c8794552
tree788d9a4712c8390aeea91c3fa9ec03ace295d9b7
parent25cf832e85638918d7d20a44bf187b479353732c
libopkg: support passing default state flags in pkg_hash_load_feeds()

Add a new argument to pkg_hash_load_feeds() which allows specifying default
state flags that should be applied to all loaded packages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/opkg.c
libopkg/pkg_hash.c
libopkg/pkg_hash.h
src/opkg-cl.c