Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Components/wac_network/Headers.h

23 lines
492 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLSOFT_WAC_NETWORK_HEADERS_H
#define NULLSOFT_WAC_NETWORK_HEADERS_H
// TODO: benski> change this to use a smarter data structure.
// this initial implementation is known to work, however
class JNL_Headers
{
public:
JNL_Headers();
~JNL_Headers();
const char *GetAllHeaders();
const char *GetHeader( const char *header_name );
int Add( const char *buf );
void Reset();
private:
char *m_recvheaders;
size_t m_recvheaders_size;
};
#endif // !NULLSOFT_WAC_NETWORK_HEADERS_H