diff options
Diffstat (limited to 'src/nidsstream.h')
-rw-r--r-- | src/nidsstream.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/nidsstream.h b/src/nidsstream.h index f64fca4..c220e5c 100644 --- a/src/nidsstream.h +++ b/src/nidsstream.h | |||
@@ -13,10 +13,10 @@ namespace Bu | |||
13 | /** | 13 | /** |
14 | * These can only be created by the Nids class. | 14 | * These can only be created by the Nids class. |
15 | */ | 15 | */ |
16 | NidsStream( Nids &rNids ); | 16 | NidsStream( Nids &rNids, uint32_t uStream ); |
17 | 17 | ||
18 | public: | 18 | public: |
19 | NidsStream( const NidsStream &rSrc ); | 19 | // NidsStream( const NidsStream &rSrc ); |
20 | virtual ~NidsStream(); | 20 | virtual ~NidsStream(); |
21 | 21 | ||
22 | virtual void close(); | 22 | virtual void close(); |
@@ -40,9 +40,12 @@ namespace Bu | |||
40 | 40 | ||
41 | private: | 41 | private: |
42 | Nids &rNids; | 42 | Nids &rNids; |
43 | typedef struct Bu::Hash<int, struct Nids::Block *> BlockHash; | 43 | uint32_t uStream; |
44 | BlockHash hBlock; | 44 | Nids::Block *pCurBlock; |
45 | long iPos; | 45 | uint32_t uCurBlock; |
46 | uint32_t uSize; | ||
47 | uint32_t uBlockSize; | ||
48 | uint32_t uPos; | ||
46 | }; | 49 | }; |
47 | }; | 50 | }; |
48 | 51 | ||