16 #ifndef INCLUDE_NN_NLIB_CURLINPUTSTREAM_H_ 17 #define INCLUDE_NN_NLIB_CURLINPUTSTREAM_H_ 20 #ifdef NLIB_HAS_LIBCURL 23 #include <curl/curl.h> 25 #include <cafe/curl/curl.h> 33 enum BufferSize { kBufferSize1x = 0, kBufferSize2x, kBufferSize3x, kBufferSize4x };
48 ParseStreamCallback(
char* contents,
size_t length,
size_t nmemb,
void* userp)
NLIB_NOEXCEPT;
58 struct CurlInputStreamPrivate;
59 CurlInputStreamPrivate* prv_;
64 #endif // NLIB_HAS_LIBCURL 65 #endif // INCLUDE_NN_NLIB_CURLINPUTSTREAM_H_ #define NLIB_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.