summaryrefslogtreecommitdiff
path: root/src/xine-utils/xineutils.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-05-09 17:42:23 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-05-09 17:42:23 +0000
commitbe2070e8aa26110339dd8dfce992687cbd10f584 (patch)
treed02572d5e05f19695709ebbf47783ba5bf32d7e2 /src/xine-utils/xineutils.h
parent3165dc12b06a73edd40bc34f11bdd13eb6844690 (diff)
downloadxine-lib-be2070e8aa26110339dd8dfce992687cbd10f584.tar.gz
xine-lib-be2070e8aa26110339dd8dfce992687cbd10f584.tar.bz2
Valid error description for gethostbyname. Obsolete function hstrerror() has no replacement, so it's used, but with configure check.
CVS patchset: 6503 CVS date: 2004/05/09 17:42:23
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r--src/xine-utils/xineutils.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index 083d409be..8334562d6 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xineutils.h,v 1.86 2004/04/28 00:38:09 komadori Exp $
+ * $Id: xineutils.h,v 1.87 2004/05/09 17:42:24 valtri Exp $
*
*/
#ifndef XINEUTILS_H
@@ -33,9 +33,6 @@ extern "C" {
#include <stdarg.h>
#include <inttypes.h>
#include <pthread.h>
-#if HAVE_LIBGEN_H
-# include <libgen.h>
-#endif
#ifdef XINE_COMPILE
# include "attributes.h"
@@ -1097,12 +1094,15 @@ void xine_list_delete_current (xine_list_t *l);
*/
char *xine_get_system_encoding(void);
-#ifndef HAVE_BASENAME
/**
* get base name
*/
-char *basename (char const *name);
-#endif
+char *xine_basename (char *name);
+
+/**
+ * get error descriptions in DNS lookups
+ */
+const char *xine_hstrerror(int err);
#ifdef WIN32
char *exec_path_append_subdir(char * string);