fwknop/test/fko-wrapper/fko_basic.c
2014-05-26 15:54:12 -04:00

26 lines
447 B
C

#include <stdio.h>
#include <stdlib.h>
#include "../../config.h"
#include "fko.h"
#if HAVE_LIBFIU
#include <fiu.h>
#include <fiu-control.h>
#endif
int main(void) {
fko_ctx_t ctx = NULL;
int res = 0;
res = fko_new(&ctx);
if (res == FKO_SUCCESS)
printf("[+] fko_new(): %s\n", fko_errstr(res));
else
printf("[-] fko_new(): %s\n", fko_errstr(res));
fko_destroy(ctx);
return 0;
}