summaryrefslogtreecommitdiff
path: root/videodir.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-29 15:21:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-29 15:21:42 +0200
commit0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa (patch)
tree8ba3132387c2eda4bb1fb6ac4b8f5354c61fed25 /videodir.h
parent92096e097a5cb6b90fb982d90b16012682d67ccf (diff)
downloadvdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.gz
vdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.bz2
Support for more than one video directory
Diffstat (limited to 'videodir.h')
-rw-r--r--videodir.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/videodir.h b/videodir.h
new file mode 100644
index 00000000..7ce15314
--- /dev/null
+++ b/videodir.h
@@ -0,0 +1,21 @@
+/*
+ * videodir.h: Functions to maintain a distributed video directory
+ *
+ * See the main source file 'vdr.c' for copyright information and
+ * how to reach the author.
+ *
+ * $Id: videodir.h 1.1 2000/07/29 14:08:27 kls Exp $
+ */
+
+#ifndef __VIDEODIR_H
+#define __VIDEODIR_H
+
+extern const char *VideoDirectory;
+
+int OpenVideoFile(const char *FileName, int Flags);
+int CloseVideoFile(int FileHandle);
+bool RenameVideoFile(const char *OldName, const char *NewName);
+bool RemoveVideoFile(const char *FileName);
+bool VideoFileSpaceAvailable(unsigned int SizeMB);
+
+#endif //__VIDEODIR_H