[refactor] moved get header info to header file
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user