/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2015 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see .
*/
#ifndef COMMON_TASKS_H
#define COMMON_TASKS_H
#include
#include
#include "../runloop_data.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_NETWORKING
/**
* rarch_main_data_http_iterate_transfer:
*
* Resumes HTTP transfer update.
*
* Returns: 0 when finished, -1 when we should continue
* with the transfer on the next frame.
**/
void rarch_main_data_http_iterate(bool is_thread,
void *data);
#endif
#ifdef HAVE_RPNG
void rarch_main_data_nbio_image_iterate(bool is_thread,
void *data);
void rarch_main_data_nbio_image_upload_iterate(bool is_thread,
void *data);
#endif
#ifdef HAVE_LIBRETRODB
#ifdef HAVE_MENU
void rarch_main_data_db_iterate(bool is_thread, void *data);
#endif
#endif
#ifdef HAVE_OVERLAY
void rarch_main_data_overlay_image_upload_iterate(bool is_thread,
void *data);
void rarch_main_data_overlay_iterate(bool is_thread, void *data);
#endif
void rarch_main_data_nbio_iterate(bool is_thread,
void *runloop);
void data_runloop_osd_msg(const char *s, size_t len);
#ifdef __cplusplus
}
#endif
#endif