summaryrefslogtreecommitdiff
path: root/psycopg/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/lobject.h')
-rw-r--r--psycopg/lobject.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/psycopg/lobject.h b/psycopg/lobject.h
index 19ba0d3..e1fed7d 100644
--- a/psycopg/lobject.h
+++ b/psycopg/lobject.h
@@ -47,7 +47,11 @@ typedef struct {
int fd; /* the file descriptor for file-like ops */
} lobjectObject;
-
+/* functions exported from lobject_int.c */
+
+extern int lobject_open(lobjectObject *self, connectionObject *conn,
+ Oid oid, int mode, Oid new_oid, char *new_file);
+
/* exception-raising macros */
#define EXC_IF_LOBJ_CLOSED(self) \
if ((self)->closed || ((self)->conn && (self)->conn->closed)) { \