summaryrefslogtreecommitdiff
path: root/pr/src/md/beos/bmmap.c
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-01-25 23:52:00 +0000
committerwtc%netscape.com <devnull@localhost>1999-01-25 23:52:00 +0000
commit880ef565fedb4b848d0b8d8f8387ea7254a856a8 (patch)
tree4c8e91aab26a99821868b93c98fe5bb44f0ff4b5 /pr/src/md/beos/bmmap.c
parentcff6f10be0633a163f45e1001921a7760adcba0c (diff)
downloadnspr-hg-880ef565fedb4b848d0b8d8f8387ea7254a856a8.tar.gz
Added BeOS files contributed by Matthew Zahorik <maz@albany.net>.
Diffstat (limited to 'pr/src/md/beos/bmmap.c')
-rw-r--r--pr/src/md/beos/bmmap.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/pr/src/md/beos/bmmap.c b/pr/src/md/beos/bmmap.c
new file mode 100644
index 00000000..572b25fc
--- /dev/null
+++ b/pr/src/md/beos/bmmap.c
@@ -0,0 +1,39 @@
+/* -*- Mode: C++; c-basic-offset: 4 -*- */
+/*
+ * The contents of this file are subject to the Mozilla Public License
+ * Version 1.0 (the "MPL"); you may not use this file except in
+ * compliance with the MPL. You may obtain a copy of the MPL at
+ * http:// www.mozilla.org/MPL/
+ *
+ * Software distributed under the MPL is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL
+ * for the specific language governing rights and limitations under the
+ * MPL.
+ */
+
+#include "primpl.h"
+
+PR_EXTERN(PRStatus)
+_PR_MD_CREATE_FILE_MAP(PRFileMap *fmap, PRInt64 size)
+{
+ return PR_FAILURE;
+}
+
+PR_EXTERN(void *)
+_PR_MD_MEM_MAP(PRFileMap *fmap, PRInt64 offset, PRUint32 len)
+{
+ PR_SetError( PR_NOT_IMPLEMENTED_ERROR, 0 );
+ return 0;
+}
+
+PR_EXTERN(PRStatus)
+_PR_MD_MEM_UNMAP(void *addr, PRUint32 size)
+{
+ return PR_FAILURE;
+}
+
+PR_EXTERN(PRStatus)
+_PR_MD_CLOSE_FILE_MAP(PRFileMap *fmap)
+{
+ return PR_FAILURE;
+}