diff options
author | Greg McGary <greg@mcgary.org> | 1997-04-18 06:32:28 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-04-18 06:32:28 +0000 |
commit | a0f7cb2db4c51a4a0fed37fde7f1992aec0cc9bb (patch) | |
tree | 71fa757f5a4f098864af027e41f3189b3613390f /filenames.h | |
parent | 017635dde1deb6e6fb5b6ab83f0c73727f9eb49b (diff) | |
download | idutils-a0f7cb2db4c51a4a0fed37fde7f1992aec0cc9bb.tar.gz idutils-a0f7cb2db4c51a4a0fed37fde7f1992aec0cc9bb.tar.bz2 idutils-a0f7cb2db4c51a4a0fed37fde7f1992aec0cc9bb.zip |
Initial revision
Diffstat (limited to 'filenames.h')
-rw-r--r-- | filenames.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/filenames.h b/filenames.h new file mode 100644 index 0000000..d2b7a39 --- /dev/null +++ b/filenames.h @@ -0,0 +1,38 @@ +/* filenames.h -- defs for interface to filenames.c + Copyright (C) 1986, 1995 Greg McGary + + 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 + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef _filenames_h_ +#define _filenames_h_ + +char const *relative_file_name (char const *dir, char const *arg); +char const *span_file_name (char const *dir, char const *arg); +char const *root_name (char const *path); +char const *suff_name (char const *path); +int can_crunch (char const *path1, char const *path2); +char const *look_up (char const *arg); +void cannoname (char *n); +char const *kshgetwd (char *pathname); +char const *unsymlink (char *n); +FILE *open_source_FILE (char *file_name, char const *filter); +void close_source_FILE (FILE *fp, char const *filter); +char const *get_sccs (char const *dir, char const *base, char const *sccs_dir); +char const *co_rcs (char const *dir, char const *base, char const *rcs_dir); + +extern long input_chars; + +#endif /* not _filenames_h_ */ |