summaryrefslogtreecommitdiff
path: root/src/include/libpq/be-fsstubs.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-28 07:27:54 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-28 07:27:54 +0000
commit870be9fa8e5ead7a9fec1b1cf539c701bba57d2a (patch)
tree0980ed1b45ec7974d2ceea9df3d0570c165804b6 /src/include/libpq/be-fsstubs.h
parent907c884fe8b88d3df5883c278cacb094a1cfc7ac (diff)
downloadpostgresql-870be9fa8e5ead7a9fec1b1cf539c701bba57d2a.tar.gz
Clean up th ecompile process by centralizing the include files
- code compile tested, but due to a yet unresolved problem with parse.h's creation, compile not completed...
Diffstat (limited to 'src/include/libpq/be-fsstubs.h')
-rw-r--r--src/include/libpq/be-fsstubs.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/libpq/be-fsstubs.h b/src/include/libpq/be-fsstubs.h
new file mode 100644
index 0000000000..775e4323c0
--- /dev/null
+++ b/src/include/libpq/be-fsstubs.h
@@ -0,0 +1,32 @@
+/*-------------------------------------------------------------------------
+ *
+ * be-fsstubs.h--
+ *
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: be-fsstubs.h,v 1.1 1996/08/28 07:22:56 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef BE_FSSTUBS_H
+#define BE_FSSTUBS_H
+
+extern Oid lo_import(text *filename);
+extern int4 lo_export(Oid lobjId, text *filename);
+
+extern Oid lo_creat(int mode);
+
+extern int lo_open(Oid lobjId, int mode);
+extern int lo_close(int fd);
+extern int lo_read(int fd, char *buf, int len);
+extern int lo_write(int fd, char *buf, int len);
+extern int lo_lseek(int fd, int offset, int whence);
+extern int lo_tell(int fd);
+extern int lo_unlink(Oid lobjId);
+
+extern struct varlena *LOread(int fd, int len);
+extern int LOwrite(int fd, struct varlena *wbuf);
+
+#endif /* BE_FSSTUBS_H */