| #include <stdlib.h> | #include <oping.h> | int main(int argc, char *argv[]) | { | pingobj_t* obj = ping_construct(); | pingobj_iter_t* iter = ping_iterator_get(obj); | void* buffer = malloc(256); | size_t* buffer_len = (size_t*) malloc(sizeof(size_t)*256); | ping_iterator_get_info( | iter, | 1, | buffer, | buffer_len); //target call | return 0; | } |
|
|