1 #ifndef __DEBUG_CURL_GCAL__
2 #define __DEBUG_CURL_GCAL__
4 /* Coments: this came straight from libcurl examples directory and
5 * will print information to stderr when executing curl_easy_perform.
6 * I'm not completely sure about its author, but I'm assuming that it uses
7 * the same license as curl itself (X11/MIT).
9 * I made only small changes in space and formating.
11 * Adenilson Cavalcanti
14 /*****************************************************************************
16 * Project ___| | | | _ \| |
18 * | (__| |_| | _ <| |___
19 * \___|\___/|_| \_\_____|
21 * $Id: debug.c,v 1.2 2006-10-20 21:26:10 bagder Exp $
24 #include <curl/curl.h>
26 struct data_curl_debug
{
27 char trace_ascii
; /* 1 or 0 */
31 int curl_debug_gcal_trace(CURL
*handle
, curl_infotype type
,
32 unsigned char *data
, size_t size
,