summaryrefslogtreecommitdiff
path: root/psycopg/lobject.h
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2006-09-02 05:33:03 +0000
committerFederico Di Gregorio <fog@initd.org>2006-09-02 05:33:03 +0000
commit269156d9bfef52ad5f2dd865fe4a69c34574939b (patch)
treed0a270b460e474bc67d9b334535ddc1a1a5e8c02 /psycopg/lobject.h
parent64bd7ae61cd1d71888a594cb3d1fc3c647a4baa3 (diff)
downloadpsycopg2-269156d9bfef52ad5f2dd865fe4a69c34574939b.tar.gz
Added some file-like attributes to lobject.
Diffstat (limited to 'psycopg/lobject.h')
-rw-r--r--psycopg/lobject.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/psycopg/lobject.h b/psycopg/lobject.h
index 76c5cfb..4b84021 100644
--- a/psycopg/lobject.h
+++ b/psycopg/lobject.h
@@ -39,8 +39,10 @@ typedef struct {
connectionObject *conn; /* connection owning the lobject */
- int closed:1; /* 1 if the lobject is closed */
-
+ int closed; /* 1 if the lobject is closed */
+ int mode; /* numeric mode, tells if lobject was opened */
+ char *smode; /* string mode if lobject was opened */
+
long int mark; /* copied from conn->mark */
Oid oid; /* the oid for this lobject */