diff options
author | Steve Holme <steve_holme@hotmail.com> | 2016-03-26 11:09:01 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-03-26 11:09:01 +0000 |
commit | 696bc6b9c98865f87e3e978f6af46400355d7469 (patch) | |
tree | 99bc9c361835f1064e76c2d36830f3c84df7c100 /lib/warnless.h | |
parent | 1f49780c4c50bd933c96f966d0af0482de6214d8 (diff) | |
download | curl-696bc6b9c98865f87e3e978f6af46400355d7469.tar.gz |
warnless?: Added some integer based conversion functions
Diffstat (limited to 'lib/warnless.h')
-rw-r--r-- | lib/warnless.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/warnless.h b/lib/warnless.h index 499d0a0ab..120badae7 100644 --- a/lib/warnless.h +++ b/lib/warnless.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, 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 @@ -52,6 +52,12 @@ size_t curlx_sotouz(curl_off_t sonum); int curlx_sztosi(ssize_t sznum); +unsigned short curlx_uitous(unsigned int uinum); + +unsigned char curlx_uitouc(unsigned int uinum); + +int curlx_uitosi(unsigned int uinum); + size_t curlx_sitouz(int sinum); #ifdef USE_WINSOCK @@ -82,7 +88,7 @@ ssize_t curlx_write(int fd, const void *buf, size_t count); int curlx_FD_ISSET(int fd, fd_set *fdset); void curlx_FD_SET(int fd, fd_set *fdset); - +3 void curlx_FD_ZERO(fd_set *fdset); unsigned short curlx_htons(unsigned short usnum); |