Code

sysdb: Don't pretty-print JSON in non-interactive mode.
[sysdb.git] / src / tools / sysdb / command.h
index bd9833828167de802c063c28e0878efdf06e3bf1..b2e5fa7ccc7363ea6efd51a091c06fb1c3caaac7 100644 (file)
@@ -40,7 +40,7 @@
  *  - a positive value if the server returned an error
  */
 int
-sdb_command_print_reply(sdb_client_t *client);
+sdb_command_print_reply(sdb_input_t *input);
 
 /*
  * sdb_command_exec:
@@ -58,6 +58,13 @@ sdb_command_print_reply(sdb_client_t *client);
 char *
 sdb_command_exec(sdb_input_t *input);
 
+/*
+ * sdb_command_print_server_version:
+ * Query and print the server version.
+ */
+void
+sdb_command_print_server_version(sdb_input_t *input);
+
 #endif /* SYSDB_COMMAND_H */
 
 /* vim: set tw=78 sw=4 ts=4 noexpandtab : */