sysxattr.c

説明を見る。
00001 /* Extended attribute support for rsync. */
00002 /* This file Copyright (C) 2004 Red Hat, Inc. */
00003 /* Written by Jay Fenlason */
00004 
00005 /* This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2 of the License, or
00008    (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018 */
00019 
00020 #include "rsync.h"
00021 
00022 #if defined HAVE_LINUX_XATTRS
00023 
00024 ssize_t sys_lgetxattr(const char *path, const char *name, void *value, size_t size)
00025 {
00026         return lgetxattr(path, name, value, size);
00027 }
00028 
00029 int sys_lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags)
00030 {
00031         return lsetxattr(path, name, value, size, flags);
00032 }
00033 
00034 ssize_t sys_llistxattr(const char *path, char *list, size_t size)
00035 {
00036         return llistxattr(path, list, size);
00037 }
00038 
00039 #else
00040 
00041 #endif /* No xattrs */

rsyncに対してSat Dec 5 19:45:42 2009に生成されました。  doxygen 1.4.7