Prefix libguestfs-inspect functions with guestfs_inspect_.
The functions are also made non-static. This is in preparation to moving the header function implementations to a .c file.
This commit is contained in:
@@ -16,7 +16,7 @@ int main(int argc, char **argv) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
char *ep = endpoint();
|
||||
char *ep = guestfs_inspect_endpoint();
|
||||
zsock_t *daemon = zsock_new_req(ep);
|
||||
free(ep);
|
||||
|
||||
@@ -40,7 +40,7 @@ int main(int argc, char **argv) {
|
||||
break;
|
||||
}
|
||||
|
||||
zmsg_t *msg = command_to_zmsg(command);
|
||||
zmsg_t *msg = guestfs_inspect_command_to_zmsg(command);
|
||||
zmsg_send(&msg, daemon);
|
||||
zmsg_t *rep = zmsg_recv(daemon);
|
||||
|
||||
@@ -62,7 +62,7 @@ int main(int argc, char **argv) {
|
||||
zmsg_destroy(&msg);
|
||||
zmsg_destroy(&rep);
|
||||
zsock_destroy(&daemon);
|
||||
command_destroy(&command);
|
||||
guestfs_inspect_command_destroy(&command);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user