upkg: Add support for listing package imports.
authorNick Bowler <nbowler@draconx.ca>
Wed, 16 May 2012 23:57:53 +0000 (19:57 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 16 May 2012 23:57:53 +0000 (19:57 -0400)
commitfff1391d5182da5a1082eb1a58bfe0811ea1a7bd
treee5f3711bd1ec9b4c8dc125925423bd43c19f24a0
parent4eb377de610752ddd6f00a23e90729ecd0190587
upkg: Add support for listing package imports.

All we need is a way to get the import struct from libupkg and we can
list all the package imports pretty easily, so add that, and do so.
src/libupkg.c
src/upkg.c
src/upkg.h