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:
2024-03-06 20:15:40 -05:00
parent 1d17e047b7
commit 5f98d369fa
3 changed files with 10 additions and 10 deletions

View File

@@ -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;
}