X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fclient.h;h=f037a048e879d2d1d9dcbd1a38c3d4ec364f62cf;hb=da186c5b5656cd210b2a8a8d9c75d2af0c8c3f66;hp=fcb4c9cc5b73fc322d318491352a709e96c5c565;hpb=856d06997c1494ed13ddad8eed3531d0852290c9;p=pazpar2-moved-to-github.git diff --git a/src/client.h b/src/client.h index fcb4c9c..f037a04 100644 --- a/src/client.h +++ b/src/client.h @@ -67,7 +67,7 @@ int client_is_our_response(struct client *cl); void client_continue(struct client *cl); -struct client *client_create(void); +struct client *client_create(const char *url); int client_destroy(struct client *c); void client_set_connection(struct client *cl, struct connection *con); @@ -89,7 +89,6 @@ int client_get_num_records(struct client *cl); int client_get_diagnostic(struct client *cl); void client_set_diagnostic(struct client *cl, int diagnostic); void client_set_database(struct client *cl, struct session_database *db); -struct host *client_get_host(struct client *cl); const char *client_get_url(struct client *cl); void client_set_maxrecs(struct client *cl, int v); int client_get_maxrecs(struct client *cl);