X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzgdu.h;h=40bb12edd594e1dcc5d40898a25ee2043f9997d7;hp=3a6513784e5c4437e2aa58607cece4e8c0fa2552;hb=8e4840a9a7b6117d92d9d97fdb4048a7f8b9ce09;hpb=7bb60eca43952aeddc459b3e67b111f032017e76 diff --git a/include/yaz/zgdu.h b/include/yaz/zgdu.h index 3a65137..40bb12e 100644 --- a/include/yaz/zgdu.h +++ b/include/yaz/zgdu.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2007, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 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: @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: zgdu.h,v 1.13 2007-09-06 17:09:56 mike Exp $ */ /** * \file zgdu.h @@ -93,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); @@ -105,6 +106,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab