projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07632b7
)
Add #include guards to base64.h
author
Matthew I
<matttpt@gmail.com>
Mon, 20 Aug 2012 02:30:59 +0000
(22:30 -0400)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 3 Dec 2012 17:44:54 +0000
(19:44 +0200)
src/base64.h
patch
|
blob
|
history
diff --git
a/src/base64.h
b/src/base64.h
index a29e69687774e1b0e6f66bfd5adfae8aa9625e51..5f2d6743d0cef43caf9bc5bc66953acb3b3a4d70 100644
(file)
--- a/
src/base64.h
+++ b/
src/base64.h
@@
-1,5
+1,10
@@
+#ifndef BASE64_HEADER
+#define BASE64_HEADER
+
#include <string>
bool base64_is_valid(std::string const& s);
std::string base64_encode(unsigned char const* , unsigned int len);
std::string base64_decode(std::string const& s);
+
+#endif // BASE64_HEADER
\ No newline at end of file