Use pthread_atfork to lock/unlock yaz_log system
[yaz-moved-to-github.git] / include / yaz / url.h
index 66edc5e..0c4a1f4 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data.
+ * Copyright (C) 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:
@@ -66,6 +66,12 @@ YAZ_EXPORT void yaz_url_set_proxy(yaz_url_t p, const char *proxy);
 */
 YAZ_EXPORT void yaz_url_set_max_redirects(yaz_url_t p, int num);
 
+/** \brief sets verbose level 0=none, >0 verbose
+    \param p handle
+    \param num verbose level
+*/
+YAZ_EXPORT void yaz_url_set_verbose(yaz_url_t p, int num);
+
 /** \brief executes the actual HTTP request (including redirects, etc)
     \param p handle
     \param uri URL