source: trunk/third/gnome-vfs/libgnomevfs/gnome-vfs-parse-ls.h @ 18154

Revision 18154, 1.4 KB checked in by ghudson, 22 years ago (diff)
Work around Solaris #defines for truncate, tell, and stat.
Line 
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 <glib.h>
32#include <sys/types.h>
33#include <sys/stat.h>
34
35gint gnome_vfs_parse_ls_lga (const gchar *p, struct stat *s,
36                             gchar **filename, gchar **linkname);
37
38#endif /* GNOME_VFS_PARSE_LS_H */
Note: See TracBrowser for help on using the repository browser.