ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Classes | |
struct | SelectSet |
struct | SReadlineInfo |
Macros | |
#define | _SReadlineInfo_ 1 |
#define | forever for ( ; ; ) |
#define | SSetjmp(a) setjmp(a) |
#define | SLongjmp(a, b) longjmp(a, b) |
#define | Sjmp_buf jmp_buf |
#define | kReUseAddrYes 1 |
#define | kReUseAddrNo 0 |
#define | kFullBufferNotRequired 00000 |
#define | kFullBufferRequired 00001 |
#define | kFullBufferRequiredExceptLast 00002 |
#define | kNoFirstSelect 00010 |
#define | kUseDNSYes 1 |
#define | kUseDNSNo 0 |
#define | kTimeoutErr (-2) |
#define | kBrokenPipeErr (-3) |
#define | kAddrStrToAddrMiscErr (-4) |
#define | kAddrStrToAddrBadHost (-5) |
#define | kSNewFailed (-6) |
#define | kSBindFailed (-7) |
#define | kSListenFailed (-8) |
#define | kSrlBufSize 2048 |
#define | kNoTimeLimit 0 |
#define | NO_SIGNALS 1 |
#define | SAccept SAcceptS |
#define | closesocket close |
#define | ioctlsocket ioctl |
#define | SETERRNO |
#define | SETWSATIMEOUTERR |
#define | LIBSIO_USE_VAR(a) gLibSio_Uses_Me_To_Quiet_Variable_Unused_Warnings = (a == 0) |
#define | UNUSED(a) a |
Typedefs | |
typedef struct SelectSet | SelectSet |
typedef struct SelectSet * | SelectSetPtr |
typedef struct SReadlineInfo | SReadlineInfo |
typedef void(* | sio_sigproc_t) (int) |
typedef volatile sio_sigproc_t | vsio_sigproc_t |
Variables | |
int | gLibSio_Uses_Me_To_Quiet_Variable_Unused_Warnings |
void(*)(int) | SSignal (int signum, void(*handler)(int)) |
#define LIBSIO_USE_VAR | ( | a | ) | gLibSio_Uses_Me_To_Quiet_Variable_Unused_Warnings = (a == 0) |
typedef struct SelectSet * SelectSetPtr |
typedef struct SReadlineInfo SReadlineInfo |
typedef volatile sio_sigproc_t vsio_sigproc_t |
Definition at line 54 of file StrAddr.c.
Referenced by SConnectByName(), SendtoByName(), and SSendtoByName().
char * AddrToAddrStr | ( | char *const | dst, |
size_t | dsize, | ||
struct sockaddr_in *const | saddrp, | ||
int | dns, | ||
const char * | fmt | ||
) |
Definition at line 136 of file StrAddr.c.
Referenced by ServeOneClient().
void DisposeSReadlineInfo | ( | SReadlineInfo * | srl | ) |
Definition at line 57 of file SReadline.c.
Referenced by CloseControlConnection(), FTPDeallocateHost(), FTPList(), and FTPListToMemory2().
void FlushSReadlineInfo | ( | SReadlineInfo * | srl | ) |
Definition at line 4 of file SReadline.c.
int InitSReadlineInfo | ( | SReadlineInfo * | srl, |
int | fd, | ||
char * | buf, | ||
size_t | bsize, | ||
int | tlen, | ||
int | requireEOLN | ||
) |
Definition at line 24 of file SReadline.c.
Referenced by FTPList(), FTPListToMemory2(), FTPRebuildConnectionInfo(), OpenControlConnection(), and ServeOneClient().
Definition at line 19 of file PRead.c.
Definition at line 7 of file PWrite.c.
Definition at line 9 of file SAcceptA.c.
Definition at line 4 of file SAcceptS.c.
Definition at line 4 of file SBind.c.
Referenced by SNewDatagramServer(), and SNewStreamServer().
Definition at line 9 of file SClose.c.
Referenced by CloseControlConnection(), CloseDataConnection(), OpenControlConnection(), and ServeOneClient().
Definition at line 9 of file SConnect.c.
Referenced by OpenControlConnection(), OpenDataConnection(), and SConnectByName().
Definition at line 4 of file SConnectByName.c.
int SelectR | ( | SelectSetPtr | ssp, |
SelectSetPtr | resultssp | ||
) |
Definition at line 65 of file SSelect.c.
void SelectSetAdd | ( | SelectSetPtr const | ssp, |
const int | fd | ||
) |
void SelectSetInit | ( | SelectSetPtr const | ssp, |
const double | timeout | ||
) |
Definition at line 4 of file SSelect.c.
void SelectSetRemove | ( | SelectSetPtr const | ssp, |
const int | fd | ||
) |
int SelectW | ( | SelectSetPtr | ssp, |
SelectSetPtr | resultssp | ||
) |
int Sendto | ( | int | sfd, |
const char * const | buf, | ||
size_t | size, | ||
const struct sockaddr_in * const | toAddr | ||
) |
Definition at line 133 of file SSendtoByName.c.
Definition at line 141 of file SError.c.
Referenced by UniataAhciStart(), UniataAhciStatus(), UniataAhciWaitCommandReady(), and UniataSataClearErr().
Referenced by PRead(), PWrite(), SAcceptA(), SClose(), SConnect(), and UNUSED().
Definition at line 118 of file SRead.c.
Referenced by FTPGetOneF(), and SReadline().
int SReadline | ( | SReadlineInfo * | srl, |
char * const | linebuf, | ||
size_t | linebufsize | ||
) |
Definition at line 76 of file SReadline.c.
Referenced by FTPList(), FTPListToMemory2(), GetResponse(), and ServeOneClient().
Definition at line 97 of file SRecv.c.
int SRecvfrom | ( | int | sfd, |
char * const | buf, | ||
size_t | size, | ||
int | fl, | ||
struct sockaddr_in * const | fromAddr, | ||
int | tlen | ||
) |
Definition at line 69 of file SRecvfrom.c.
Definition at line 90 of file SSend.c.
int SSendto | ( | int | sfd, |
const char * const | buf, | ||
size_t | size, | ||
int | fl, | ||
const struct sockaddr_in * const | toAddr, | ||
int | tlen | ||
) |
Definition at line 68 of file SSendto.c.
int SSendtoByName | ( | int | sfd, |
const char * const | buf, | ||
size_t | size, | ||
int | fl, | ||
const char * const | toAddrStr, | ||
int | tlen | ||
) |
Definition at line 73 of file SSendtoByName.c.
Definition at line 7 of file SWait.c.
Referenced by GetResponse().
Definition at line 62 of file SWait.c.
Definition at line 90 of file SWrite.c.
Referenced by FTPPutOneF(), SendCommand(), and ServeOneClient().