]> cygwin.com Git - cygwin-apps/setup.git/blame - filemanip.h
2003-07-27 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / filemanip.h
CommitLineData
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
12e726c4
MB
16#ifndef SETUP_FILEMANIP_H
17#define SETUP_FILEMANIP_H
18
3c054baf
RC
19#include "String++.h"
20
48397721 21extern int find_tar_ext (const char *path);
85b43844
CF
22
23typedef struct
24{
3c054baf
RC
25 String pkg;
26 String ver;
27 String tail;
28 String what;
b24c88b3
RC
29}
30fileparse;
85b43844 31
3c054baf
RC
32int parse_filename (String const & in_fn, fileparse & f);
33String base (String const &);
e0a4db64 34size_t get_file_size (String const &);
3c054baf 35String backslash (String const &);
0d4e0aad 36const char * trail (const char *, const char *);
12e726c4
MB
37
38#endif /* SETUP_FILEMANIP_H */
This page took 0.0375 seconds and 5 git commands to generate.