#include <fstream>
#include <iomanip>
#include <iostream>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "lo-sysdep.h"
#include "oct-env.h"
#include "unwind-prot.h"
#include "url-transfer.h"
#include "version.h"
#include <curl/curl.h>
#include <curl/curlver.h>
#include <curl/easy.h>
Go to the source code of this file.
◆ REP_CLASS
#define REP_CLASS curl_transfer |
◆ SETOPT
#define SETOPT |
( |
|
option, |
|
|
|
parameter |
|
) |
| |
Value: do \
{ \
CURLcode res = curl_easy_setopt (m_curl, option, parameter); \
if (res != CURLE_OK) \
{ \
m_ok = false; \
m_errmsg = curl_easy_strerror (res); \
return; \
} \
} \
while (0)
Definition at line 258 of file url-transfer.cc.
◆ SETOPTR
#define SETOPTR |
( |
|
option, |
|
|
|
parameter |
|
) |
| |
Value: do \
{ \
CURLcode res = curl_easy_setopt (m_curl, option, parameter); \
if (res != CURLE_OK) \
{ \
m_ok = false; \
m_errmsg = curl_easy_strerror (res); \
return retval; \
} \
} \
while (0)
Definition at line 272 of file url-transfer.cc.