GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
url-transfer.cc File Reference
#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.

Namespaces

 octave
 

Macros

#define REP_CLASS   curl_transfer
 
#define SETOPT(option, parameter)
 
#define SETOPTR(option, parameter)
 

Macro Definition Documentation

◆ REP_CLASS

#define REP_CLASS   curl_transfer

Definition at line 915 of file url-transfer.cc.

◆ 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.