X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzgdu.h;h=e7399ed9c4bff5387d56cfe4377e80bd525b42a0;hp=d0f8f03057a932e65a6e5db9f633b5c8a89599e2;hb=17118baaeff3d358a93d93aacfa46cef14ee5bab;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/include/yaz/zgdu.h b/include/yaz/zgdu.h index d0f8f03..e7399ed 100644 --- a/include/yaz/zgdu.h +++ b/include/yaz/zgdu.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 1995-2012 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -92,7 +92,9 @@ YAZ_EXPORT Z_GDU *z_get_HTTP_Request(ODR o); YAZ_EXPORT Z_GDU *z_get_HTTP_Request_host_path(ODR odr, const char *host, const char *path); - +YAZ_EXPORT Z_GDU *z_get_HTTP_Request_uri(ODR odr, const char *uri, + const char *args, + int use_full_uri); YAZ_EXPORT int yaz_decode_http_request(ODR o, Z_HTTP_Request **hr_p); YAZ_EXPORT int yaz_decode_http_response(ODR o, Z_HTTP_Response **hr_p); YAZ_EXPORT int yaz_encode_http_response(ODR o, Z_HTTP_Response *hr);