diff options
author | AlexSm <alex@ydb.tech> | 2024-01-18 11:28:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 11:28:56 +0100 |
commit | 9d0a3761b3201e0d9db879a7adf91876ebdb0564 (patch) | |
tree | 541d11ac878c18efd7ebca81e35112aa0fef995b /contrib/libs/curl/src/tool_sdecls.h | |
parent | 404ef8886ecc9736bc58ade6da2fbd83b486a408 (diff) | |
download | ydb-9d0a3761b3201e0d9db879a7adf91876ebdb0564.tar.gz |
Library import 8 (#1074)
* Library import 8
* Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
Diffstat (limited to 'contrib/libs/curl/src/tool_sdecls.h')
-rw-r--r-- | contrib/libs/curl/src/tool_sdecls.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/contrib/libs/curl/src/tool_sdecls.h b/contrib/libs/curl/src/tool_sdecls.h index 70e44d4ed2..b93c324624 100644 --- a/contrib/libs/curl/src/tool_sdecls.h +++ b/contrib/libs/curl/src/tool_sdecls.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -57,6 +57,9 @@ * 'init' member holds original file size or offset at which truncation is * taking place. Always zero unless appending to a non-empty regular file. * + * [Windows] + * 'utf8seq' member holds an incomplete UTF-8 sequence destined for the console + * until it can be completed (1-4 bytes) + NUL. */ struct OutStruct { @@ -68,25 +71,11 @@ struct OutStruct { FILE *stream; curl_off_t bytes; curl_off_t init; +#ifdef _WIN32 + unsigned char utf8seq[5]; +#endif }; - -/* - * InStruct variables keep track of information relative to curl's - * input reading, which may take place from stdin or from some file. - * - * 'fd' member is either 'stdin' file descriptor number STDIN_FILENO - * or a file descriptor as returned from an 'open' call for some file. - * - * 'config' member is a pointer to associated 'OperationConfig' struct. - */ - -struct InStruct { - int fd; - struct OperationConfig *config; -}; - - /* * A linked list of these 'getout' nodes contain URL's to fetch, * as well as information relative to where URL contents should |