From 88ad98dca8fa8d4f9465e51f79eafd922b918b67 Mon Sep 17 00:00:00 2001 From: Adi Oanca Date: Thu, 25 Sep 2003 12:11:37 +0000 Subject: [PATCH] added support for UInts and a new function: DropInputBuffer() used for basic synchronization git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4799 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/app/Session.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/headers/private/app/Session.h b/headers/private/app/Session.h index 3e42065e33..ed394e7f82 100644 --- a/headers/private/app/Session.h +++ b/headers/private/app/Session.h @@ -18,13 +18,18 @@ public: virtual ~BSession(); void SetSendPort( port_id port ); void SetRecvPort( port_id port ); + bool DropInputBuffer(); char* ReadString(); status_t ReadBool( bool *b ); status_t ReadInt8( int8 *i ); + status_t ReadUInt8( uint8 *i ); status_t ReadInt16( int16 *i ); + status_t ReadUInt16( uint16 *i ); status_t ReadInt32( int32 *i ); + status_t ReadUInt32( uint32 *i ); status_t ReadInt64( int64 *i ); + status_t ReadUInt64( uint64 *i ); status_t ReadFloat( float *f ); status_t ReadFloatFromInt( float *f ); status_t ReadDouble( double *d );