summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h
index 74d3631fd8..3df33f9988 100644
--- a/protocols/Steam/src/steam_proto.h
+++ b/protocols/Steam/src/steam_proto.h
@@ -36,6 +36,8 @@ typedef void(CSteamProto::*JsonCallback)(const JSONNode&, void*);
struct HttpRequest : public MTHttpRequest<CSteamProto>
{
HttpRequest(int iRequestType, const char *pszUrl);
+
+ NETLIBHTTPREQUEST* Get();
};
class CSteamProto : public PROTO<CSteamProto>
@@ -73,6 +75,7 @@ class CSteamProto : public PROTO<CSteamProto>
bool IsMe(const char *steamId);
void Login();
+ void LoginFailed();
void Logout();
void OnGotRsaKey(const JSONNode &root, void *);
@@ -84,6 +87,8 @@ class CSteamProto : public PROTO<CSteamProto>
void OnAuthorizationSuccess(const JSONNode &root);
void OnGotSession(const HttpResponse &response, void *);
+ void OnGotHosts(const JSONNode &root, void *);
+
void OnLoggedOn(const HttpResponse &response, void *);
void OnReLogin(const JSONNode &root, void *);