![]() |
OpenZWave Library
1.6.1888
|
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sstream>
#include <cctype>
#include <cerrno>
#include <algorithm>
#include <assert.h>
#include <iostream>
#include <string>
#include "platform/HttpClient.h"
#include "platform/Log.h"
#include "Utils.h"
Namespaces | |
OpenZWave | |
OpenZWave::Internal | |
OpenZWave::Internal::Platform | |
Macros | |
#define | SOCKET_ERROR (-1) |
#define | INVALID_SOCKET (SOCKET)(~0) |
#define | SOCKETVALID(s) ((s) != INVALID_SOCKET) |
#define | STRNICMP strncasecmp |
#define | traceprint(...) {} |
#define | DEFAULT_BUFSIZE 4096 |
Typedefs | |
typedef intptr_t | SOCKET |
Functions | |
bool | OpenZWave::Internal::Platform::HasSSL () |
Indicates if we support HTTPS requestsIndicates if we support HTTPS requests. More... | |
int | OpenZWave::Internal::Platform::_GetError () |
std::string | OpenZWave::Internal::Platform::_GetErrorStr (int e) |
bool | OpenZWave::Internal::Platform::InitNetwork () |
Initialize the Network for HTTP requestsInitializes the Network for HTTP requests. More... | |
void | OpenZWave::Internal::Platform::StopNetwork () |
Stop the Network for HTTP requestsStops the Network for HTTP requests and releases resources associated with it. More... | |
bool | OpenZWave::Internal::Platform::SplitURI (const std::string &uri, std::string &protocol, std::string &host, std::string &file, int &port, bool &useSSL) |
void | OpenZWave::Internal::Platform::URLEncode (const std::string &s, std::string &enc) |
Encode a String suitable for sending as a URL request (eg Get)Encode a String so it can be sent as part of a URL request. More... | |
#define DEFAULT_BUFSIZE 4096 |
#define INVALID_SOCKET (SOCKET)(~0) |
#define SOCKET_ERROR (-1) |
#define SOCKETVALID | ( | s | ) | ((s) != INVALID_SOCKET) |
#define STRNICMP strncasecmp |
#define traceprint | ( | ... | ) | {} |
typedef intptr_t SOCKET |