26 #include "internal_libreport.h"
28 #define UREPORT_CONF_FILE_PATH PLUGINS_CONF_DIR"/ureport.conf"
30 #define UREPORT_OPTION_VALUE_FROM_CONF(settings, opt, var, tr) do { const char *value = getenv("uReport_"opt); \
31 if (!value) { value = g_hash_table_lookup(settings, opt); } if (value) { var = tr(value); } \
34 #define UREPORT_SUBMIT_ACTION "reports/new/"
35 #define UREPORT_ATTACH_ACTION "reports/attach/"
40 enum ureport_preferences_flags
42 UREPORT_PREF_FLAG_RETURN_ON_FAILURE = 0x1,
97 GHashTable *settings);
117 const char *client_auth);
128 const char *username,
const char *password);
144 const char *http_auth_pref);
186 const char *dump_dir_path,
218 const char *url_sfx);
239 ureport_json_attachment_new(
const char *bthash,
const char *type,
const char *data);
271 ...) G_GNUC_PRINTF(4, 5);
279 char *libreport_ureport_from_dump_dir_ext(const
char *dump_dir_path,