Re: Accessing informations of installed packages
On Sun, Jul 29, 2001 at 09:01:25AM +0200, Otto Wyss wrote:
> I'm writing a program in C and like to access the informations about local
> installed packages. How do I access these informations?
> I guess the correct way should be through the libapt but I haven't found any API
> discription of it. I seems libapt is made for C++ program, how can I access it
> from a C program?
You could wrap the library functions you need in C, compile those wrappers
using the C++ compiler, and link them into your program. If you find an API
that works well, it might even be useful to other programmers.