diff options
Diffstat (limited to 'frontend_svr.h')
-rw-r--r-- | frontend_svr.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/frontend_svr.h b/frontend_svr.h index d3af54b0..c459e5be 100644 --- a/frontend_svr.h +++ b/frontend_svr.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.h,v 1.21 2008-11-18 15:01:35 phintuka Exp $ + * $Id: frontend_svr.h,v 1.22 2009-03-19 08:39:12 phintuka Exp $ * */ @@ -131,6 +131,13 @@ protected: int m_Token; int AllocToken(void); bool HasClients(void); + + // Cache current PAT/PMT for new clients + uint8_t *m_Header; + size_t m_HeaderLength; // bytes used + size_t m_HeaderSize; // bytes allocated + public: + void SetHeader(uint8_t *Data, int Length, bool Reset = false); }; #endif // __XINELIB_FRONTEND_SVR_H |