OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifndef pathsub_h___ | 5 #ifndef pathsub_h___ |
6 #define pathsub_h___ | 6 #define pathsub_h___ |
7 /* | 7 /* |
8 ** Pathname subroutines. | 8 ** Pathname subroutines. |
9 ** | 9 ** |
10 ** Brendan Eich, 8/29/95 | 10 ** Brendan Eich, 8/29/95 |
(...skipping 25 matching lines...) Expand all Loading... |
36 extern char *xbasename(char *path); | 36 extern char *xbasename(char *path); |
37 extern void xchdir(char *dir); | 37 extern void xchdir(char *dir); |
38 | 38 |
39 /* Relate absolute pathnames from and to returning the result in outpath. */ | 39 /* Relate absolute pathnames from and to returning the result in outpath. */ |
40 extern int relatepaths(char *from, char *to, char *outpath); | 40 extern int relatepaths(char *from, char *to, char *outpath); |
41 | 41 |
42 /* NOTE: changes current working directory -- caveat emptor */ | 42 /* NOTE: changes current working directory -- caveat emptor */ |
43 extern void reversepath(char *inpath, char *name, int len, char *outpath); | 43 extern void reversepath(char *inpath, char *name, int len, char *outpath); |
44 | 44 |
45 /* stats every directory in path, reports results. */ | 45 /* stats every directory in path, reports results. */ |
46 extern void diagnosePath(const char * path); | 46 extern void diagnosePath(const char *path); |
47 | 47 |
48 #endif /* pathsub_h___ */ | 48 #endif /* pathsub_h___ */ |
OLD | NEW |