Code Review
/
ric-plt
/
nodeb-rnib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
95fdd73265baebaf0ee26d93afcaaefa1cf6a648
[ric-plt/nodeb-rnib.git]
/
creader
/
test.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include "rnibreader.h"
4
5
int main() {
6
printf("Using rnibreader lib from C:\n");
7
8
open();
9
void *result = getListGnbIds();
10
11
if(result == NULL){
12
13
printf("ERROR: no data from getListGnbIds\n");
14
return 1;
15
}
16
17
printf("getListGnbIds response: %s\n", (char *)result);
18
19
close();
20
21
free(result);
22
23
return 0;
24
}