#include <desktop/minidump.hxx>
#include <sal/log.hxx>
#include <map>
#include <fstream>
#include <sstream>
#include <string>
#include <curl/curl.h>
Go to the source code of this file.
|
static std::map< std::string, std::string > | readStrings (std::istream &file) |
|
static size_t | WriteCallback (void const *ptr, size_t size, size_t nmemb, void *userp) |
|
static void | getProperty (const std::string &key, std::string &value, std::map< std::string, std::string > ¶meters) |
|
static std::string | generate_json (const std::map< std::string, std::string > ¶meters) |
|
static bool | uploadContent (std::map< std::string, std::string > ¶meters, std::string &response) |
|
bool | crashreport::readConfig (const std::string &iniPath, std::string *response) |
| Read+Send, Test and send info from the Dump.ini . More...
|
|
◆ generate_json()
static std::string generate_json |
( |
const std::map< std::string, std::string > & |
parameters | ) |
|
|
static |
◆ getProperty()
static void getProperty |
( |
const std::string & |
key, |
|
|
std::string & |
value, |
|
|
std::map< std::string, std::string > & |
parameters |
|
) |
| |
|
static |
◆ readStrings()
static std::map< std::string, std::string > readStrings |
( |
std::istream & |
file | ) |
|
|
static |
◆ uploadContent()
static bool uploadContent |
( |
std::map< std::string, std::string > & |
parameters, |
|
|
std::string & |
response |
|
) |
| |
|
static |
◆ WriteCallback()
static size_t WriteCallback |
( |
void const * |
ptr, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
void * |
userp |
|
) |
| |
|
static |
◆ kUserAgent
const char kUserAgent[] = "Breakpad/1.0 (Linux)" |