ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/gnome-vfs2-2.3.8-1.src.rpm
[gnome-vfs-httpcaptive.git] / libgnomevfs / gnome-vfs-parse-ls.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* gnome-vfs-parse-ls.h - Routines for parsing output from the `ls' command.
3
4    Copyright (C) 1999 Free Software Foundation
5
6    The Gnome Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Library General Public License as
8    published by the Free Software Foundation; either version 2 of the
9    License, or (at your option) any later version.
10
11    The Gnome Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Library General Public License for more details.
15
16    You should have received a copy of the GNU Library General Public
17    License along with the Gnome Library; see the file COPYING.LIB.  If not,
18    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.
20
21    Authors: 1995 Miguel de Icaza
22    1995 Jakub Jelinek
23    1998 Pavel Machek
24    1999 Cleanup by Ettore Perazzoli
25
26    finduid, findgid are from GNU tar.  */
27
28 #ifndef GNOME_VFS_PARSE_LS_H
29 #define GNOME_VFS_PARSE_LS_H
30
31 #include <sys/stat.h>
32
33 #include <glib/gmacros.h>
34
35 G_BEGIN_DECLS
36
37 struct stat;
38
39 int gnome_vfs_parse_ls_lga (const char *p, struct stat *s,
40                             char **filename, char **linkname);
41
42 G_END_DECLS
43
44 #endif /* GNOME_VFS_PARSE_LS_H */