X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Ffrontend%2Fconnection.h;fp=src%2Finclude%2Ffrontend%2Fconnection.h;h=8189470d4347721dab0aebeeb526e0e32ec90e07;hp=e963c94e58d0b7f30aa445b38504cdf3a554fbcd;hb=4bc282b73a0d1d526e38c4220be46de17bbf4932;hpb=8a9f437224378cfcb738603db86620bb3763d50d diff --git a/src/include/frontend/connection.h b/src/include/frontend/connection.h index e963c94..8189470 100644 --- a/src/include/frontend/connection.h +++ b/src/include/frontend/connection.h @@ -201,15 +201,16 @@ sdb_fe_exec_fetch(sdb_conn_t *conn, const char *name, /* * sdb_fe_exec_list: * Execute the 'LIST' command. Send a complete listing of the store, - * serialized as JSON, to the client. If specified, only objects matching the - * filter will be included. See sdb_store_tojson for details. + * serialized as JSON, to the client. The listing includes all hosts and the + * specified object type. If specified, only objects matching the filter will + * be included. See sdb_store_tojson for details. * * Returns: * - 0 on success * - a negative value else */ int -sdb_fe_exec_list(sdb_conn_t *conn, sdb_store_matcher_t *filter); +sdb_fe_exec_list(sdb_conn_t *conn, int type, sdb_store_matcher_t *filter); /* * sdb_fe_exec_lookup: