#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <netinet/in.h>
#include <sys/time.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <signal.h>
#include "urldata.h"
#include <curl/curl.h>
#include "transfer.h"
#include "sendf.h"
#include "telnet.h"
#include <curl/mprintf.h>
#include "arpa_telnet.h"
Go to the source code of this file.
#define _MPRINTF_REPLACE /* use our functions only */ |
#define CURL_SB_ACCUM |
( |
|
x, |
|
|
|
c |
|
) |
| |
Value:if (
x->subpointer < (
x->subbuffer+
sizeof x->subbuffer)) { \
*
x->subpointer++ = (
c); \
}
Definition at line 94 of file telnet.c.
#define CURL_SB_CLEAR |
( |
|
x | ) |
x->subpointer = x->subbuffer; |
#define CURL_SB_EOF |
( |
|
x | ) |
(x->subpointer >= x->subend) |
#define CURL_SB_GET |
( |
|
x | ) |
((*x->subpointer++)&0xff) |
#define CURL_SB_LEN |
( |
|
x | ) |
(x->subend - x->subpointer) |
#define CURL_SB_PEEK |
( |
|
x | ) |
((*x->subpointer)&0xff) |
Enumerator |
---|
CURL_TS_DATA |
|
CURL_TS_IAC |
|
CURL_TS_WILL |
|
CURL_TS_WONT |
|
CURL_TS_DO |
|
CURL_TS_DONT |
|
CURL_TS_CR |
|
CURL_TS_SB |
|
CURL_TS_SE |
|
Definition at line 139 of file telnet.c.