From 38d2408e87fe026df316067766ad5328d4284390 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 5 Feb 2012 22:29:13 +0100 Subject: download: add include guards to header file --- src/download.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/download.h') diff --git a/src/download.h b/src/download.h index 4900b18..a0d0f91 100644 --- a/src/download.h +++ b/src/download.h @@ -18,7 +18,20 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef IDEVICERESTORE_DOWNLOAD_H +#define IDEVICERESTORE_DOWNLOAD_H + +#ifdef __cplusplus +extern "C" { +#endif + #include int download_to_buffer(const char* url, char** buf, uint32_t* length); int download_to_file(const char* url, const char* filename); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.1-32-gdbae