mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2881
This commit is contained in:
parent
b885e31677
commit
1fbcf2af0e
|
@ -9204,3 +9204,9 @@ David Jan 14 2004
|
|||
net_xfer.C
|
||||
win_build/
|
||||
boinc_cli.vcproj
|
||||
|
||||
David Jan 15 2004
|
||||
- factored base64 declarations
|
||||
|
||||
lib/
|
||||
base64.h (new)
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
class InvalidBase64Exception
|
||||
{
|
||||
};
|
||||
|
||||
string r_base64_encode (const char* from, size_t length) throw(InvalidBase64Exception);
|
||||
string r_base64_decode (const char* from, size_t length) throw(InvalidBase64Exception);
|
||||
inline string r_base64_decode (string const& from) throw(InvalidBase64Exception)
|
||||
{
|
||||
return r_base64_decode(from.c_str(), from.length());
|
||||
}
|
||||
|
14
lib/parse.h
14
lib/parse.h
|
@ -41,17 +41,3 @@ extern void replace_element(char* buf, char* start, char* end, char* replacement
|
|||
//extern void extract_venue(const char* in, const char* venue_name, char* out);
|
||||
extern char* sgets(char* buf, int len, char* &in);
|
||||
extern bool extract_xml_record(const std::string &field, const char *tag, std::string &record);
|
||||
|
||||
#if 0
|
||||
class InvalidBase64Exception
|
||||
{
|
||||
};
|
||||
|
||||
string r_base64_encode (const char* from, size_t length) throw(InvalidBase64Exception);
|
||||
string r_base64_decode (const char* from, size_t length) throw(InvalidBase64Exception);
|
||||
inline string r_base64_decode (string const& from) throw(InvalidBase64Exception)
|
||||
{
|
||||
return r_base64_decode(from.c_str(), from.length());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue