#include <iostream>
#include <chrono>
#include <list>
#include <zypp/base/Logger.h>
#include <zypp/ExternalProgram.h>
#include <zypp/base/String.h>
#include <zypp/base/Gettext.h>
#include <zypp-core/parser/Sysconfig>
#include <zypp/media/MediaCurl.h>
#include <zypp-curl/ProxyInfo>
#include <zypp-curl/auth/CurlAuthData>
#include <zypp-media/auth/CredentialManager>
#include <zypp-curl/CurlConfig>
#include <zypp-curl/private/curlhelper_p.h>
#include <zypp/Target.h>
#include <zypp/ZYppFactory.h>
#include <zypp/ZConfig.h>
#include <cstdlib>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <errno.h>
#include <dirent.h>
#include <unistd.h>
Go to the source code of this file.
◆ SET_OPTION
#define SET_OPTION |
( |
|
opt, |
|
|
|
val |
|
) |
| |
Value: do { \
ret = curl_easy_setopt ( _curl, opt, val ); \
if ( ret != 0) { \
ZYPP_THROW(MediaCurlSetOptException(_url, _curlError)); \
} \
} while ( false )
- Todo:
- deprecate SET_OPTION and use the typed versions below.
Definition at line 323 of file MediaCurl.cc.
◆ SET_OPTION_OFFT
#define SET_OPTION_OFFT |
( |
|
opt, |
|
|
|
val |
|
) |
| SET_OPTION(opt,(curl_off_t)val) |
◆ SET_OPTION_LONG
#define SET_OPTION_LONG |
( |
|
opt, |
|
|
|
val |
|
) |
| SET_OPTION(opt,(long)val) |
◆ SET_OPTION_VOID
#define SET_OPTION_VOID |
( |
|
opt, |
|
|
|
val |
|
) |
| SET_OPTION(opt,(void*)val) |