aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Auth.h
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
committerReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
commit92239dafb601d2ee5da1554d19631267c81fe57c (patch)
tree8a2b406e1d1c66c459e6c4dc3f908b60d2feacd1 /nxcomp/Auth.h
parentd7a8d67d760a80962821f6951caee5a9c807f5be (diff)
downloadnx-libs-92239dafb601d2ee5da1554d19631267c81fe57c.tar.gz
nx-libs-92239dafb601d2ee5da1554d19631267c81fe57c.tar.bz2
nx-libs-92239dafb601d2ee5da1554d19631267c81fe57c.zip
Imported nxcomp-3.2.0-6.tar.gznxcomp/3.2.0-6
Summary: Imported nxcomp-3.2.0-6.tar.gz Keywords: Imported nxcomp-3.2.0-6.tar.gz into Git repository
Diffstat (limited to 'nxcomp/Auth.h')
-rwxr-xr-xnxcomp/Auth.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nxcomp/Auth.h b/nxcomp/Auth.h
index c8e960b45..1b77aaab2 100755
--- a/nxcomp/Auth.h
+++ b/nxcomp/Auth.h
@@ -52,6 +52,11 @@ class Auth
realData_ != NULL && dataSize_ != 0);
}
+ int isFake() const
+ {
+ return generatedCookie_;
+ }
+
//
// Method called in the channel class to find if the
// provided cookie matches the fake one. If the data
@@ -107,6 +112,8 @@ class Auth
char *realData_;
int dataSize_;
+
+ int generatedCookie_;
};
#endif /* Auth_H */