GNU Octave  6.2.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>
Include dependency graph for url-transfer.cc:

Go to the source code of this file.

Classes

class  octave::curl_transfer
 

Namespaces

 octave
 

Macros

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

Functions

static int octave::read_data (void *buffer, size_t size, size_t nmemb, void *streamp)
 
static size_t octave::throw_away (void *, size_t size, size_t nmemb, void *)
 
static int octave::write_data (void *buffer, size_t size, size_t nmemb, void *streamp)
 

Macro Definition Documentation

◆ REP_CLASS

#define REP_CLASS   curl_transfer

Definition at line 939 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 273 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)
octave_value::octave_value(const Array< char > &chm, char type) return retval
Definition: ov.cc:811

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