libexplain
1.4.D001
|
00001 /* 00002 * libexplain - Explain errno values returned by libc functions 00003 * Copyright (C) 2008, 2009, 2013 Peter Miller 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU Lesser General Public License as 00007 * published by the Free Software Foundation; either version 3 of the 00008 * License, or (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 GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public License 00016 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef LIBEXPLAIN_BUFFER_DOES_NOT_HAVE_INODE_MODIFY_PERMISSION_H 00020 #define LIBEXPLAIN_BUFFER_DOES_NOT_HAVE_INODE_MODIFY_PERMISSION_H 00021 00022 #include <libexplain/string_buffer.h> 00023 00024 struct stat; /* forward */ 00025 struct explain_have_identity_t; /* forward */ 00026 00047 void explain_buffer_does_not_have_inode_modify_permission( 00048 explain_string_buffer_t *sb, const char *comp, 00049 const struct stat *comp_st, const char *caption, const char *dir, 00050 const struct stat *dir_st, const struct explain_have_identity_t *hip); 00051 00068 void explain_buffer_does_not_have_inode_modify_permission1( 00069 explain_string_buffer_t *sb, const char *pathname, 00070 const struct stat *pathname_st, const char *caption, 00071 const struct explain_have_identity_t *hip); 00072 00086 void explain_buffer_does_not_have_inode_modify_permission_fd( 00087 explain_string_buffer_t *sb, int fildes, const char *fildes_caption); 00088 00104 void explain_buffer_does_not_have_inode_modify_permission_fd_st( 00105 explain_string_buffer_t *sb, const struct stat *fildes_st, 00106 const char *fildes_caption, const struct explain_have_identity_t *hip); 00107 00108 #endif /* LIBEXPLAIN_BUFFER_DOES_NOT_HAVE_INODE_MODIFY_PERMISSION_H */ 00109 /* vim: set ts=8 sw=4 et : */