diff options
author | Nikias Bassen | 2012-02-05 22:29:13 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-05 22:29:13 +0100 |
commit | 38d2408e87fe026df316067766ad5328d4284390 (patch) | |
tree | 7abb7a8533666db5334dfbfbe66e1f08885b03ac /src | |
parent | fdea23960ae9ea99fa28db49c4da5791a8affca7 (diff) | |
download | idevicerestore-38d2408e87fe026df316067766ad5328d4284390.tar.gz idevicerestore-38d2408e87fe026df316067766ad5328d4284390.tar.bz2 |
download: add include guards to header file
Diffstat (limited to 'src')
-rw-r--r-- | src/download.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdint.h> 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 |