[refactor] moved get header info to header file

This commit is contained in:
Julian Sparber
2017-09-18 12:07:43 +02:00
parent 69b1bfc2ed
commit 8f27f67ddd
2 changed files with 4 additions and 3 deletions

View File

@@ -8,13 +8,11 @@
#include <libsoup/soup.h> #include <libsoup/soup.h>
#include "teleportapp.h" #include "teleportapp.h"
#include "get.h"
static SoupSession *session; static SoupSession *session;
static gboolean debug; static gboolean debug;
int saveFile (SoupMessage *, const gchar *, const gchar *);
gchar * getFilePath (const gchar *, const gchar *);
static void static void
finished (SoupSession *session, SoupMessage *msg, gpointer target) finished (SoupSession *session, SoupMessage *msg, gpointer target)
{ {

View File

@@ -5,4 +5,7 @@
extern int do_downloading(const char *, const char *, const char *); extern int do_downloading(const char *, const char *, const char *);
extern int do_client_notify(char *); extern int do_client_notify(char *);
int saveFile (SoupMessage *, const gchar *, const gchar *);
gchar * getFilePath (const gchar *, const gchar *);
#endif /* __GET_H */ #endif /* __GET_H */