Files
itunes_server/iTunesAPIs/src/iTunesCore/itunes_https.h
danial 9f481c5e8c Add iTunes Debugger and third-party libraries
- Introduced a new iTunes Debugger application with main functionality to interact with iTunesAPIs.
- Added various third-party libraries including 7zip, bit7z, jsoncpp, libcurl, libeay32, ssleay32, and zlib for enhanced functionality.
- Created project files for the iTunes Debugger in Visual Studio, including .vcxproj, .vcxproj.filters, and .sln files.
- Included a log file for debugging purposes.
- Ensured compatibility with both Debug and Release configurations for Win32 and x64 platforms.
2025-11-15 23:06:05 +08:00

19 lines
898 B
C++

#ifndef WIN_ITUNES_ITUNES_HTTPS_H_
#define WIN_ITUNES_ITUNES_HTTPS_H_
//////////////////////////////////////////////////////////////////////////
#include "basictypes.h"
//#include "passport/itunes_client_interface.h"
//////////////////////////////////////////////////////////////////////////
namespace win_itunes{
namespace internal{
enum iTunesExtHeader{
apple_itunes = -1,
apple_authenticate,
apple_signSapSetup
};
std::string ReadHTTPS(const wchar_t* domain,const wchar_t* path,const wchar_t* header,iTunesExtHeader options = apple_itunes,const wchar_t* referer=NULL,const char* port=NULL);
std::string SendHTTPS(const wchar_t* domain,const wchar_t* path,const void* src,const size_t length,iTunesExtHeader options,const wchar_t* header,const wchar_t* referer=NULL,const char* post = NULL);
}
}
//////////////////////////////////////////////////////////////////////////
#endif