Archos
Arntsen
Aros
-ascii
asynch
AsynchDNS
atime
1.17 Add support for IRIs
- IRIs (RFC 3987) allow localized, non-ascii, names in the URL. To properly
+ IRIs (RFC 3987) allow localized, non-ASCII, names in the URL. To properly
support this, curl/libcurl would need to translate/encode the given input
from the input string encoding into percent encoded output "over the wire".
-J/--remote-header-name does not decode %-encoded filenames. RFC 6266 details
how it should be done. The can of worm is basically that we have no charset
- handling in curl and ascii >=128 is a challenge for us. Not to mention that
+ handling in curl and ASCII >=128 is a challenge for us. Not to mention that
decoding also means that we need to check for nastiness that is attempted,
like "../" sequences and the like. Probably everything to the left of any
embedded slashes should be cut off.
FTP servers typically put the user in its "home directory" after login, which
then differs between users. To explicitly specify the root directory of an FTP
server, start the path with double slash `//` or `/%2f` (2F is the hexadecimal
-value of the ascii code for the slash).
+value of the ASCII code for the slash).
## FILE
CURLcode res;
struct data config;
- config.trace_ascii = 1; /* enable ascii tracing */
+ config.trace_ascii = 1; /* enable ASCII tracing */
curl = curl_easy_init();
if(curl) {
that you have a matching struct for in the header, as you tell libcurl your
"age" with the input argument.
-*version* is just an ascii string for the libcurl version.
+*version* is just an ASCII string for the libcurl version.
*version_num* is a 24 bit number created like this: \<8 bits major number\> |
\<8 bits minor number\> | \<8 bits patch number\>. Version 7.9.8 is therefore
returned as 0x070908.
-*host* is an ascii string showing what host information that this libcurl
+*host* is an ASCII string showing what host information that this libcurl
was built for. As discovered by a configure script or set by the build
environment.
bound to its parent multi-part, a nth-level multi-part belongs to it and
should not be freed explicitly.
-Email messages data is not supposed to be non-ascii and line length is
+Email messages data is not supposed to be non-ASCII and line length is
limited: fortunately, some transfer encodings are defined by the standards to
support the transmission of such incompatible data. Function
curl_mime_encoder(3) tells a part that its source data must be encoded
*
* DESCRIPTION
*
- * Returns a static ascii string of the libcurl version.
+ * Returns a static ASCII string of the libcurl version.
*/
CURL_EXTERN char *curl_version(void);
if(namelen) {
size_t i;
ca->ai_canonname = (void *)((char *)ca->ai_addr + ss_size);
- for(i = 0; i < namelen; ++i) /* convert wide string to ascii */
+ for(i = 0; i < namelen; ++i) /* convert wide string to ASCII */
ca->ai_canonname[i] = (char)ai->ai_canonname[i];
ca->ai_canonname[namelen] = '\0';
}
#define GZIP_MAGIC_1 0x8b
/* gzip flag byte */
-#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
+#define ASCII_FLAG 0x01 /* bit 0 set: file probably ASCII text */
#define HEAD_CRC 0x02 /* bit 1 set: header CRC present */
#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */
#define ORIG_NAME 0x08 /* bit 3 set: original filename present */
#ifndef CURL_DISABLE_VERBOSE_STRINGS
static void ftp_pasv_verbose(struct Curl_easy *data,
struct Curl_addrinfo *ai,
- char *newhost, /* ascii version */
+ char *newhost, /* ASCII version */
int port);
#endif
static CURLcode ftp_state_prepare_transfer(struct Curl_easy *data);
static void
ftp_pasv_verbose(struct Curl_easy *data,
struct Curl_addrinfo *ai,
- char *newhost, /* ascii version */
+ char *newhost, /* ASCII version */
int port)
{
char buf[256];
/* Quoted-printable character class table.
*
* We cannot rely on ctype functions since quoted-printable input data
- * is assumed to be ascii-compatible, even on non-ascii platforms. */
+ * is assumed to be ASCII-compatible, even on non-ASCII platforms. */
#define QP_OK 1 /* Can be represented by itself. */
#define QP_SP 2 /* Space or tab. */
#define QP_CR 3 /* Carriage return. */
/* On all platforms, input is supposed to be ASCII compatible: for this
reason, we use hexadecimal ASCII codes in this function rather than
- character constants that can be interpreted as non-ascii on some
+ character constants that can be interpreted as non-ASCII on some
platforms. Preserve ASCII encoding on output too. */
while(st->bufbeg < st->bufend) {
size_t len = 1;
}
}
# else
- /* VMS translate path is actually not needed on the current 64 bit */
+ /* VMS translate path is actually not needed on the current 64-bit */
/* VMS platforms, so instead of figuring out the pointer settings */
/* Change it to a noop */
# define vms_translate_path(__path) __path
#endif /* Only present if we need strtoll, but do not have it. */
/*
- * Parse a *positive* up to 64-bit number written in ascii.
+ * Parse a *positive* up to 64-bit number written in ASCII.
*/
CURLofft curlx_strtoofft(const char *str, char **endp, int base,
curl_off_t *num)
struct Curl_easy *data = state->data;
CURLcode result = CURLE_OK;
- /* Set ascii mode if -B flag was used */
+ /* Set ASCII mode if -B flag was used */
if(data->state.prefer_ascii)
mode = "netascii";
HTTP proxy as HTTP proxies may know
this protocol and act as a gateway */
#define PROTOPT_WILDCARD (1<<12) /* protocol supports wildcard matching */
-#define PROTOPT_USERPWDCTRL (1<<13) /* Allow "control bytes" (< 32 ascii) in
+#define PROTOPT_USERPWDCTRL (1<<13) /* Allow "control bytes" (< 32 ASCII) in
username and password */
#define PROTOPT_NOTCPPROXY (1<<14) /* this protocol cannot proxy over TCP */
#ifdef USE_SSH
STRING_SSH_PRIVATE_KEY, /* path to the private key file for auth */
STRING_SSH_PUBLIC_KEY, /* path to the public key file for auth */
- STRING_SSH_HOST_PUBLIC_KEY_MD5, /* md5 of host public key in ascii hex */
+ STRING_SSH_HOST_PUBLIC_KEY_MD5, /* md5 of host public key in ASCII hex */
STRING_SSH_HOST_PUBLIC_KEY_SHA256, /* sha256 of host public key in base64 */
STRING_SSH_KNOWNHOSTS, /* filename of knownhosts file */
#endif
}
#if !defined(USE_WINDOWS_SSPI)
-/* Convert md5 chunk to RFC2617 (section 3.1.3) -suitable ascii string */
+/* Convert md5 chunk to RFC2617 (section 3.1.3) -suitable ASCII string */
static void auth_digest_md5_to_ascii(unsigned char *source, /* 16 bytes */
unsigned char *dest) /* 33 bytes */
{
msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]);
}
-/* Convert sha256 or SHA-512/256 chunk to RFC7616 -suitable ascii string */
+/* Convert sha256 or SHA-512/256 chunk to RFC7616 -suitable ASCII string */
static void auth_digest_sha256_to_ascii(unsigned char *source, /* 32 bytes */
unsigned char *dest) /* 65 bytes */
{
}
dns_w = entry->pwszDNSName;
/* pwszDNSName is in ia5 string format and hence does not contain any
- * non-ascii characters. */
+ * non-ASCII characters. */
while(*dns_w != '\0') {
*current_pos++ = (TCHAR)(*dns_w++);
}
$! 64 Compile with 64-bit pointers.
$! Note, you must match the pointer size that the OpenSSL
$! shared image expects.
-$! Currently curl is not building properly with 64 bit pointers
-$! on VMS because it is trying to cast pointers to 32 bit
+$! Currently curl is not building properly with 64-bit pointers
+$! on VMS because it is trying to cast pointers to 32-bit
$! integers and some OpenVMS library routines called by curl
-$! do not yet support 64 bit pointers.
+$! do not yet support 64-bit pointers.
$! CCQUAL=x Add "x" to the C compiler qualifiers.
$! Default qualifiers are:
$! /standard=relaxed
$ try_shr = "gnv$libzshr"
$ if build_64
$ then
-$! First look for 64 bit
+$! First look for 64-bit
$ if f$search("''try_shr'64") .eqs. ""
$ then
-$! Second look for the J.F. Pieronne 64 bit shared image
+$! Second look for the J.F. Pieronne 64-bit shared image
$ try_shr = "LIBZ_SHR64"
$ if f$search(try_shr) .eqs. "" then nozlib = 1
$ endif
$ else
-$! First look for 32 bit
+$! First look for 32-bit
$ if f$search("''try_shr'32") .eqs. ""
$ then
-$! Second look for old 32 bit image
+$! Second look for old 32-bit image
$ if f$search(try_shr) .eqs. ""
$ then
-$! Third look for the J.F. Pieronne 32 bit shared image
+$! Third look for the J.F. Pieronne 32-bit shared image
$ try_shr = "LIBZ_SHR32"
$ if f$search(try_shr) .eqs. "" then nozlib = 1
$ endif
$ severity = '$severity'
$!
$!
-$! Of course the 64 bit stuff is different
+$! Of course the 64-bit stuff is different
$!---------------------------------------------------------
$ if severity .ne. 1 .and. key64
$ then
$ endif
$!
$! Create the a new option file with special fixup for HP SSL
-$! For a shared image, we always want ZLIB and 32 bit HPSSL
+$! For a shared image, we always want ZLIB and 32-bit HPSSL
$!
$ if f$search("gnv$libzshr32") .eqs. ""
$ then
distribution. The curl_gnv_build_steps.text is included in the release
notes file of the PCSI kit.
-The building with 64 bit pointers does not currently work.
+The building with 64-bit pointers does not currently work.
The build procedure will detect if HP OpenSSL, LDAP, and Kerberos are
installed and default to building with them.
$ cc :== cc'clist''cnames'/nested_include_directory=none
$ cxx :== cxx'clist''cnames'/nested_include_directory=none
$ pointer_size = "32"
-$! Note 64 bit pointers requires all libraries to either have
-$! 64 bit pointers or have #pragma directives.
-$! Currently building curl on VMS with 64 bit pointers does not work.
+$! Note 64-bit pointers requires all libraries to either have
+$! 64-bit pointers or have #pragma directives.
+$! Currently building curl on VMS with 64-bit pointers does not work.
$!
$! A logical name to make it easier to find some of the hacks.
$ define/job gnv_hacks 'base_dir'
bool sasl_ir; /* Enable/disable SASL initial response */
bool proxytunnel;
bool ftp_append; /* APPE on ftp */
- bool use_ascii; /* select ascii or text transfer */
+ bool use_ascii; /* select ASCII or text transfer */
bool autoreferer; /* automatically set referer */
bool failonerror; /* fail on (HTTP) errors */
bool failwithbody; /* fail on (HTTP) errors but still store body */
test_setopt(curl, CURLOPT_PROXY_TRANSFER_MODE, 1L);
test_setopt(curl, CURLOPT_VERBOSE, 1L);
if(libtest_arg3) {
- /* enable ascii/text mode */
+ /* enable ASCII/text mode */
test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
}
size_t i;
static const char fill[] = "test data";
- config.trace_ascii = 1; /* enable ascii tracing */
+ config.trace_ascii = 1; /* enable ASCII tracing */
global_init(CURL_GLOBAL_ALL);
easy_init(curl);
Free it and return next buffer filled with data.
*/
static int readit(struct testcase *test, struct tftphdr **dpp,
- int convert /* if true, convert to ascii */)
+ int convert /* if true, convert to ASCII */)
{
struct bf *b;
}
/*
- * fill the input buffer, doing ascii conversions if requested
+ * fill the input buffer, doing ASCII conversions if requested
* conversions are lf -> cr, lf and cr -> cr, nul
*/
static void read_ahead(struct testcase *test,
- int convert /* if true, convert to ascii */)
+ int convert /* if true, convert to ASCII */)
{
int i;
char *p;