cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/filesubr.h [signed-commits2]


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/filesubr.h [signed-commits2]
Date: Thu, 20 Oct 2005 17:34:03 -0400

Index: ccvs/src/filesubr.h
diff -u /dev/null ccvs/src/filesubr.h:1.1.4.1
--- /dev/null   Thu Oct 20 21:34:03 2005
+++ ccvs/src/filesubr.h Thu Oct 20 21:33:10 2005
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2005 The Free Software Foundation, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef FILESUBR_H
+#define FILESUBR_H
+
+#include <stdbool.h>
+#include <sys/types.h>  /* Get ssize_t.  */
+
+
+
+bool isdir (const char *file);
+bool isfile (const char *file);
+ssize_t islink (const char *file);
+bool isdevice (const char *file);
+bool isreadable (const char *file);
+bool iswritable (const char *file);
+bool isaccessible (const char *file, const int mode);
+const char *last_component (const char *path);
+char *get_homedir (void);
+char *strcat_filename_onto_homedir (const char *, const char *);
+char *cvs_temp_name (void);
+FILE *cvs_temp_file (char **filename);
+int unlink_file (const char *f);
+int unlink_file_dir (const char *f);
+
+#endif /* FILESUBR_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]