LibreOffice Module ucb (master)  1
Namespaces | Macros | Enumerations | Functions
ftpurl.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <cstring>
#include <vector>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/ucb/OpenMode.hpp>
#include <string.h>
#include <rtl/uri.hxx>
#include <rtl/strbuf.hxx>
#include "ftpurl.hxx"
#include "ftpcontentprovider.hxx"
#include "ftpcfunc.hxx"
#include "ftpcontainer.hxx"
#include <memory>
Include dependency graph for ftpurl.cxx:

Go to the source code of this file.

Namespaces

 ftp
 Definition of ftpcontentprovider.
 

Macros

#define SET_CONTROL_CONTAINER
 

Enumerations

enum  ftp::OS {
  ftp::FTP_DOS,
  ftp::FTP_UNIX,
  ftp::FTP_VMS,
  ftp::FTP_UNKNOWN
}
 

Functions

int memory_write (void *buffer, size_t size, size_t nmemb, void *stream)
 
static void setCurlUrl (CURL *curl, OUString const &url)
 
static size_t memory_read (void *ptr, size_t size, size_t nmemb, void *stream)
 

Macro Definition Documentation

#define SET_CONTROL_CONTAINER
Value:
MemoryContainer control; \
curl_easy_setopt(curl, \
CURLOPT_HEADERFUNCTION, \
curl_easy_setopt(curl, \
CURLOPT_WRITEHEADER, \
&control)
int memory_write(void *buffer, size_t size, size_t nmemb, void *stream)
Definition: ftpurl.cxx:105

Definition at line 366 of file ftpurl.cxx.

Referenced by ftp::FTPURL::del(), ftp::FTPURL::insert(), ftp::FTPURL::list(), ftp::FTPURL::mkdir(), ftp::FTPURL::net_title(), ftp::FTPURL::open(), and ftp::FTPURL::ren().

Function Documentation

static size_t memory_read ( void ptr,
size_t  size,
size_t  nmemb,
void stream 
)
static

Definition at line 620 of file ftpurl.cxx.

References ftp::CurlInput::read().

Referenced by ftp::FTPURL::insert().

int memory_write ( void buffer,
size_t  size,
size_t  nmemb,
void stream 
)

Definition at line 105 of file ftpurl.cxx.

References ftp::MemoryContainer::append().

Referenced by ftp::FTPURL::list().

static void setCurlUrl ( CURL *  curl,
OUString const &  url 
)
static