]>
Commit | Line | Data |
---|---|---|
48397721 CF |
1 | /* |
2 | * Copyright (c) 2000, Red Hat, Inc. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * A copy of the GNU General Public License can be found at | |
10 | * http://www.gnu.org/ | |
11 | * | |
12 | * Written by Christopher Faylor <cgf@cygnus.com> | |
13 | * | |
14 | */ | |
15 | ||
3c054baf RC |
16 | #include "String++.h" |
17 | ||
48397721 | 18 | extern int find_tar_ext (const char *path); |
85b43844 CF |
19 | |
20 | typedef struct | |
21 | { | |
3c054baf RC |
22 | String pkgtar; |
23 | String pkg; | |
24 | String ver; | |
25 | String tail; | |
26 | String what; | |
b24c88b3 RC |
27 | } |
28 | fileparse; | |
85b43844 | 29 | |
3c054baf RC |
30 | int parse_filename (String const & in_fn, fileparse & f); |
31 | String base (String const &); | |
32 | unsigned int get_file_size (String const &); | |
33 | String backslash (String const &); |