#include #include "libmbpk.h" int main(void) { int res; printf("[mbpk_install] please note that mbpk_install is currently used as a test, and does not do what is said in the README. the proper wrapper binaries will be created once libmbpk is finished.\n"); printf("[mbpk_install] calling mbpk_init()\n"); res = mbpk_init(); if (res != MBPK_OK) { fprintf(stderr, "mbpk init failed: %d\n", res); return 1; } printf("[mbpk_install] calling mbpk_update_repositories()\n"); res = mbpk_update_repositories(); if (res != MBPK_OK) { fprintf(stderr, "mbpk repo failed: %d\n", res); } return 0; }