Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
20
Src/replicant/jnetlib/headers.h
Normal file
20
Src/replicant/jnetlib/headers.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
// 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue