mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 12:10:41 +00:00
1149b4f4aa
* saving of demos and savegames no longer mindlessly writes to the mod directory. All such access is now being rerouted through the special paths interface so that the game data can reside in write protected locations. * refactored all occurences of klistpath except fnlist_getnames. * do not allow CON scripts to write to arbitrary files. This is a massive exploit and can be used to cause real damage if someone knows how to play this thing - it's far easier than people may think! It will now write any such data to a special section in the main config which is safe and cannot be manipulated to write to random locations on the hard drive.
14 lines
376 B
C++
14 lines
376 B
C++
//
|
|
// base64 encoding and decoding with C++.
|
|
// Version: 1.01.00
|
|
//
|
|
|
|
#ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
#define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
|
|
#include <string>
|
|
|
|
std::string base64_encode(unsigned char const* , unsigned int len);
|
|
std::string base64_decode(std::string const& s);
|
|
|
|
#endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
|