summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/info/filesys.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-01-17 10:39:58 +0000
committerru <ru@FreeBSD.org>2000-01-17 10:39:58 +0000
commitb5a89659ea518f3a1817b5aa9569aed569f46835 (patch)
tree8bc0265ed289089a4bfc2688eb403478a06653cf /contrib/texinfo/info/filesys.h
parent8bad2738ec49e647fdee28e203379fff23a7e852 (diff)
parent05f7b4b96773cc26ff78d5e68babd66861aa07a8 (diff)
downloadFreeBSD-src-b5a89659ea518f3a1817b5aa9569aed569f46835.zip
FreeBSD-src-b5a89659ea518f3a1817b5aa9569aed569f46835.tar.gz
This commit was generated by cvs2svn to compensate for changes in r56160,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/texinfo/info/filesys.h')
-rw-r--r--contrib/texinfo/info/filesys.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/contrib/texinfo/info/filesys.h b/contrib/texinfo/info/filesys.h
index 440eb9b..06573ef 100644
--- a/contrib/texinfo/info/filesys.h
+++ b/contrib/texinfo/info/filesys.h
@@ -1,10 +1,7 @@
-/* filesys.h -- External declarations of functions and vars in filesys.c.
- $Id: filesys.h,v 1.3 1997/07/15 18:39:08 karl Exp $
+/* filesys.h -- external declarations for filesys.c.
+ $Id: filesys.h,v 1.5 1998/07/21 22:25:44 karl Exp $
- This file is part of GNU Info, a program for reading online documentation
- stored in Info format.
-
- Copyright (C) 1993, 97 Free Software Foundation, Inc.
+ Copyright (C) 1993, 97, 98 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -46,6 +43,11 @@ extern void info_add_path ();
If it can't find the file, it returns NULL. */
extern char *info_find_fullpath ();
+/* Given a chunk of text and its length, convert all CRLF pairs at the
+ EOLs into a single Newline character. Return the length of produced
+ text. */
+long convert_eols ();
+
/* Read the contents of PATHNAME, returning a buffer with the contents of
that file in it, and returning the size of that buffer in FILESIZE.
FINFO is a stat struct which has already been filled in by the caller.
@@ -69,6 +71,9 @@ extern int filesys_error_number;
Advance IDX to the character after the colon. */
extern char *extract_colon_unit ();
+/* Return true if FILENAME is `dir', with a possible compression suffix. */
+extern int is_dir_name ();
+
/* The default value of INFOPATH. */
#if !defined (DEFAULT_INFOPATH)
# define DEFAULT_INFOPATH "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:."
OpenPOWER on IntegriCloud