diff options
| author | Neal H. Walfield <[email protected]> | 2015-03-19 08:59:20 +0000 |
|---|---|---|
| committer | Neal H. Walfield <[email protected]> | 2015-03-23 18:58:26 +0000 |
| commit | e23b3ba5ffd3134a72da176a039e4d6c4f3ff595 (patch) | |
| tree | 4aad168711c76a5d6a3311d79ff6bd6fd0052e07 /common/http.h | |
| parent | Add new function strlist_find. (diff) | |
| download | gnupg-e23b3ba5ffd3134a72da176a039e4d6c4f3ff595.tar.gz gnupg-e23b3ba5ffd3134a72da176a039e4d6c4f3ff595.zip | |
Add new function uri_query_lookup.
* common/http.h (uri_query_lookup): New declaration.
* common/http.c (uri_query_lookup): The corresponding implementation.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'common/http.h')
| -rw-r--r-- | common/http.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/http.h b/common/http.h index 3a4443034..17f778d61 100644 --- a/common/http.h +++ b/common/http.h @@ -1,6 +1,7 @@ /* http.h - HTTP protocol handler * Copyright (C) 1999, 2000, 2001, 2003, 2006, * 2010 Free Software Foundation, Inc. + * Copyright (C) 2015 g10 Code GmbH * * This file is part of GnuPG. * @@ -61,6 +62,8 @@ struct parsed_uri_s }; typedef struct parsed_uri_s *parsed_uri_t; +extern struct uri_tuple_s *uri_query_lookup (parsed_uri_t uri, const char *key); + typedef enum { HTTP_REQ_GET = 1, |
