diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 15:53:35 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-01 13:14:54 +0200 |
commit | 02e8f9f8d3276433398bc04bf66ff8e55e8d3d31 (patch) | |
tree | dd57100b709f867a93feb95296db40f4c50466e5 /odb/oracle/oracle-types.hxx | |
parent | 35dd30f3304027fc4b6167a64bb8d2fe1152d5bf (diff) |
Implement query image change callback machinery
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r-- | odb/oracle/oracle-types.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index 1e48129..7f2c46d 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -114,6 +114,18 @@ namespace odb // lob_context* context; }; + + // An instance of this structure specifies the function to invoke and + // the context to pass just prior to the image associated with a query + // is modified. + // + struct change_callback + { + change_callback (): callback (0), context (0) {}; + + void (*callback) (void*); + void* context; + }; } } |