From 8f27f67ddd8a7a9e95814fb47d5453fce65edad0 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Mon, 18 Sep 2017 12:07:43 +0200 Subject: [PATCH] [refactor] moved get header info to header file --- src/get.c | 4 +--- src/get.h | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/get.c b/src/get.c index 7054056..6c6feb9 100644 --- a/src/get.c +++ b/src/get.c @@ -8,13 +8,11 @@ #include #include "teleportapp.h" +#include "get.h" static SoupSession *session; static gboolean debug; -int saveFile (SoupMessage *, const gchar *, const gchar *); -gchar * getFilePath (const gchar *, const gchar *); - static void finished (SoupSession *session, SoupMessage *msg, gpointer target) { diff --git a/src/get.h b/src/get.h index 598e459..1015ed2 100644 --- a/src/get.h +++ b/src/get.h @@ -5,4 +5,7 @@ extern int do_downloading(const char *, const char *, const char *); extern int do_client_notify(char *); +int saveFile (SoupMessage *, const gchar *, const gchar *); +gchar * getFilePath (const gchar *, const gchar *); + #endif /* __GET_H */