diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-21 11:05:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-21 11:13:33 +0200 |
commit | 5fe918d1f84af9b1f70deb152bf20d0b8a296524 (patch) | |
tree | bf97fd6460a92260a1f3563c7583febe6ca863d1 /lib/libeclat.h | |
parent | f896658fd2c2c2b832536adb8af5ae6789c387a2 (diff) | |
download | eclat-5fe918d1f84af9b1f70deb152bf20d0b8a296524.tar.gz eclat-5fe918d1f84af9b1f70deb152bf20d0b8a296524.tar.bz2 |
Add ispeek.
* src/ispeek.c: New file.
* src/ispeek-cl.opt: New file
* src/Makefile.am: Add ispeek
* src/io.c (dump, eclat_trace_fun): Moved to the library.
(eclat_io_setup): Use eclat_set_curl_trace.
* NEWS: Document ispeek.
* doc/Makefile.inc: Add ispeek.1
* doc/eclat.1man: Mention ispeek(1) in the "see also" section.
* doc/eclat.conf.5: Update.
* doc/ispeek.1: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add trace.c
* lib/libeclat.h (eclat_trace_fun)
(eclat_set_curl_trace): New proto.
* lib/trace.c: New file.
Diffstat (limited to 'lib/libeclat.h')
-rw-r--r-- | lib/libeclat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libeclat.h b/lib/libeclat.h index 2265a7b..4d6882e 100644 --- a/lib/libeclat.h +++ b/lib/libeclat.h @@ -16,6 +16,7 @@ #include <stddef.h> #include <expat.h> +#include <curl/curl.h> #include "grecs.h" extern const char *program_name; @@ -50,6 +51,11 @@ void debug_printf(const char *fmt, ...); int parse_debug_level(const char *arg); int debug_register(char *name); +int eclat_trace_fun(CURL *handle, curl_infotype type, + char *data, size_t size, + void *userp); +void eclat_set_curl_trace(CURL *curl, int lev); + void hmac_sha1(const void *text, size_t textlen, const void *key, size_t keylen, |