summaryrefslogtreecommitdiff
path: root/src/safe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safe.h')
-rw-r--r--src/safe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/safe.h b/src/safe.h
index 1a0ff70..8b2a5a1 100644
--- a/src/safe.h
+++ b/src/safe.h
@@ -18,6 +18,10 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <stdbool.h>
+
+extern bool unsafe;
+
int safe_stat (const char *pathname, struct stat *buf);
int safe_lstat (const char *pathname, struct stat *buf);
int safe_open (const char *pathname, int flags, mode_t mode);