aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bufferstore.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-02-04 04:23:06 +0000
committerFritz Elfert <felfert@to.com>2001-02-04 04:23:06 +0000
commita7e4250b20fa5012942c4fe05ee0c7f701c5799f (patch)
tree087ef59c3c88713aa8c7b3150a2ae114c04a929e /lib/bufferstore.h
parent1664530e8f0e1ac6e762a1c79629fcec86f68724 (diff)
downloadplptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.tar.gz
plptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.tar.bz2
plptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.zip
Cleaned up ppsocket.
More 64bit-related stuff.
Diffstat (limited to 'lib/bufferstore.h')
-rw-r--r--lib/bufferstore.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bufferstore.h b/lib/bufferstore.h
index 65f6607..d9c2e54 100644
--- a/lib/bufferstore.h
+++ b/lib/bufferstore.h
@@ -1,6 +1,8 @@
#ifndef _bufferstore_h
#define _bufferstore_h
+#include <sys/types.h>
+
class ostream;
/**
@@ -68,7 +70,7 @@ public:
*
* @returns The value of the word at index <em>pos</em>
*/
- unsigned int getWord(long pos = 0) const;
+ u_int16_t getWord(long pos = 0) const;
/**
* Retrieves the dword at index <em>pos</em>.
@@ -77,7 +79,7 @@ public:
*
* @returns The value of the dword at index <em>pos</em>
*/
- unsigned int getDWord(long pos = 0) const;
+ u_int32_t getDWord(long pos = 0) const;
/**
* Retrieves the characters at index <em>pos</em>.