From e161bdc5bebaf08dbd664202acb04c5e728cbcd6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Mar 2004 13:40:24 +0000 Subject: cut off 'curl_' from the strerror file names --- lib/strerror.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lib/strerror.h (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h new file mode 100644 index 000000000..7d687230e --- /dev/null +++ b/lib/strerror.h @@ -0,0 +1,30 @@ +#ifndef __CURL_STRERROR_H +#define __CURL_STRERROR_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2004, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * $Id$ + ***************************************************************************/ + +#include "urldata.h" + +const char *Curl_strerror (struct connectdata *conn, int err); + +#endif -- cgit v1.2.1 From 19b284c21452b2c50924de3e0a04f5ed8040430d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 2 Oct 2004 13:01:44 +0000 Subject: Gisle Vanem provided code that displays an error message when the (libidn based) IDN conversion fails. This is really due to a missing suitable function in the libidn API that I hope we can remove once libidn gets a function like this. --- lib/strerror.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h index 7d687230e..d003cb182 100644 --- a/lib/strerror.h +++ b/lib/strerror.h @@ -27,4 +27,8 @@ const char *Curl_strerror (struct connectdata *conn, int err); +#ifdef USE_LIBIDN +const char *Curl_idn_strerror (struct connectdata *conn, int err); +#endif + #endif -- cgit v1.2.1 From 84bf03b365b3dd1059efe267d70599af95821339 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Oct 2004 17:26:24 +0000 Subject: removed trailing whitespace --- lib/strerror.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h index d003cb182..b28050437 100644 --- a/lib/strerror.h +++ b/lib/strerror.h @@ -1,10 +1,10 @@ #ifndef __CURL_STRERROR_H #define __CURL_STRERROR_H /*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | - * / __| | | | |_) | | - * | (__| |_| | _ <| |___ + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2004, Daniel Stenberg, , et al. @@ -12,7 +12,7 @@ * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at http://curl.haxx.se/docs/copyright.html. - * + * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. -- cgit v1.2.1 From 4650732f4a8590c8f6a00566510f9cdd656397a7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 18 May 2009 12:25:45 +0000 Subject: Update copyright year, to force CVS to update the $Id date string format --- lib/strerror.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h index b28050437..ec0046e29 100644 --- a/lib/strerror.h +++ b/lib/strerror.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2004, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms -- cgit v1.2.1 From 2309b4e330b96bc2e1f8e36b6184015e59544037 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Mar 2010 11:02:54 +0100 Subject: remove the CVSish $Id$ lines --- lib/strerror.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h index ec0046e29..7f2342aea 100644 --- a/lib/strerror.h +++ b/lib/strerror.h @@ -20,7 +20,6 @@ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * - * $Id$ ***************************************************************************/ #include "urldata.h" -- cgit v1.2.1 From 764a5e4a50286c27b0fa0c16bc44659880a184a5 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 12 Jun 2012 01:06:48 +0200 Subject: sspi: make Curl_sspi_strerror() libcurl's sspi status code string function --- lib/strerror.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/strerror.h') diff --git a/lib/strerror.h b/lib/strerror.h index 7f2342aea..f1b22210a 100644 --- a/lib/strerror.h +++ b/lib/strerror.h @@ -1,5 +1,5 @@ -#ifndef __CURL_STRERROR_H -#define __CURL_STRERROR_H +#ifndef HEADER_CURL_STRERROR_H +#define HEADER_CURL_STRERROR_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -30,4 +30,8 @@ const char *Curl_strerror (struct connectdata *conn, int err); const char *Curl_idn_strerror (struct connectdata *conn, int err); #endif +#ifdef USE_WINDOWS_SSPI +const char *Curl_sspi_strerror (struct connectdata *conn, int err); #endif + +#endif /* HEADER_CURL_STRERROR_H */ -- cgit v1.2.1