diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-04 23:56:48 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-04 23:56:48 -0500 |
commit | 6d13afadb8cf8ef0788afaa0d7b4229bc48d0c19 (patch) | |
tree | ac97e133f64f6f48c0806b1e63b6b41ba82d3885 /lib/libtqtrla | |
parent | d5316f5795e3557d032af9a95ba4e5fa88191834 (diff) | |
download | ulab-6d13afadb8cf8ef0788afaa0d7b4229bc48d0c19.tar.gz ulab-6d13afadb8cf8ef0788afaa0d7b4229bc48d0c19.zip |
Enable character transmission via Kerberos
Diffstat (limited to 'lib/libtqtrla')
-rw-r--r-- | lib/libtqtrla/src/tqtrla.cpp | 8 | ||||
-rw-r--r-- | lib/libtqtrla/src/tqtrla.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/libtqtrla/src/tqtrla.cpp b/lib/libtqtrla/src/tqtrla.cpp index 6320f3e..e8631cc 100644 --- a/lib/libtqtrla/src/tqtrla.cpp +++ b/lib/libtqtrla/src/tqtrla.cpp @@ -100,11 +100,15 @@ bool operator==( const ServiceType &s1, const ServiceType &s2 ) { TQDataStream &operator<<( TQDataStream &s, const ServiceType &st ) { + TQ_INT8 tempchar; + s << st.type; s << st.name; s << st.description; s << st.clientLibrary; s << st.version; + tempchar = (st.singleInstance)?1:0; + s << tempchar; return s; } @@ -118,11 +122,15 @@ TQDataStream &operator<<( TQDataStream &s, const ServiceType &st ) TQDataStream &operator>>( TQDataStream &s, ServiceType &st ) { + TQ_INT8 tempchar; + s >> st.type; s >> st.name; s >> st.description; s >> st.clientLibrary; s >> st.version; + s >> tempchar; + st.singleInstance = (tempchar != 0); return s; } diff --git a/lib/libtqtrla/src/tqtrla.h b/lib/libtqtrla/src/tqtrla.h index a31131a..3b8ccd7 100644 --- a/lib/libtqtrla/src/tqtrla.h +++ b/lib/libtqtrla/src/tqtrla.h @@ -76,6 +76,7 @@ class ServiceType TQString description; TQString clientLibrary; int version; + bool singleInstance; }; #ifndef QT_NO_DATASTREAM |