1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <opkg.h> int main (int argc, char **argv) { opkg_t *opkg; opkg = opkg_new (); opkg_set_option (opkg, "offline_root", "/tmp/"); opkg_free (opkg); }