]> cygwin.com Git - cygwin-apps/setup.git/blob - filemanip.h
Use parse_filename method to parse filenames throughout. Use get_root_dir to
[cygwin-apps/setup.git] / filemanip.h
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
16 extern int find_tar_ext (const char *path);
17
18 typedef struct
19 {
20 char pkgtar[MAX_PATH + 1];
21 char pkg[MAX_PATH + 1];
22 char ver[MAX_PATH + 1];
23 char tail[MAX_PATH + 1];
24 char what[16];
25 } fileparse;
26
27 int parse_filename (const char *in_fn, fileparse& f);
This page took 0.048913 seconds and 5 git commands to generate.