NetBurner 3.5.6
PDF Version
fdfuncs.h
1
2
/*NB_REVISION*/
3
4
/*NB_COPYRIGHT*/
5
6
21
#ifndef _NB_FD_FUNCS_H
22
#define _NB_FD_FUNCS_H
23
24
25
int
GetFdBelow(
int
fd);
26
const
char
* GetFdTypeName(
int
fd);
27
int
GetRxBufferSpaceUsed(
int
fd);
28
int
GetRxBufferSpaceAvail(
int
fd);
29
int
GetTxBufferAvailSpace(
int
fd);
30
int
GetTxBufferWaiting(
int
fd);
31
32
//Returns true if all the data has been sent to the other side and has been acknowledged.
33
//Requires that the whole stack be clear, ie ws->tls->tcp.
34
bool
AllTxSent(
int
fd);
35
36
int
SetRxBufferSpaceAvail(
int
fd,
int
space);
37
int
SetTxBufferAvailSpace(
int
fd,
int
space);
38
39
//Should this socket flush the whole content stack on each write.
40
void
SetFlush(
int
fd,
bool
bDoFlush);
41
42
#endif
43