aboutsummaryrefslogtreecommitdiff
path: root/lib/libeclat.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-21 11:05:45 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-01-21 11:13:33 +0200
commit5fe918d1f84af9b1f70deb152bf20d0b8a296524 (patch)
treebf97fd6460a92260a1f3563c7583febe6ca863d1 /lib/libeclat.h
parentf896658fd2c2c2b832536adb8af5ae6789c387a2 (diff)
downloadeclat-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.h6
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,

Return to:

Send suggestions and report system problems to the System administrator.