/[bison]/bison/lib/dirname.h
ViewVC logotype

Diff of /bison/lib/dirname.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by akim, Tue Jan 8 17:27:46 2002 UTC revision 1.2 by eggert, Mon Aug 12 14:11:02 2002 UTC
# Line 1  Line 1 
1  /*  Copyright (C) 1998 Free Software Foundation, Inc.  /*  Copyright (C) 1998, 2001 Free Software Foundation, Inc.
2    
3      This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
4      it under the terms of the GNU General Public License as published by      it under the terms of the GNU General Public License as published by
# Line 25  Line 25 
25  #  endif  #  endif
26  # endif  # endif
27    
28  char *  # ifndef DIRECTORY_SEPARATOR
29  dir_name PARAMS ((const char *path));  #  define DIRECTORY_SEPARATOR '/'
30    # endif
31    
32    # ifndef ISSLASH
33    #  define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR)
34    # endif
35    
36    # ifndef FILESYSTEM_PREFIX_LEN
37    #  define FILESYSTEM_PREFIX_LEN(Filename) 0
38    # endif
39    
40    char *base_name PARAMS ((char const *path));
41    char *dir_name PARAMS ((char const *path));
42    size_t base_len PARAMS ((char const *path));
43    size_t dir_len PARAMS ((char const *path));
44    
45    int strip_trailing_slashes PARAMS ((char *path));
46    
47  #endif /* not DIRNAME_H_ */  #endif /* not DIRNAME_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26