aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-types.hxx
blob: 70006c622ecce9366f7ea6dab4d93799f1706d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// file      : odb/oracle/oracle-types.hxx
// author    : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : ODB NCUEL; see accompanying LICENSE file

#ifndef ODB_ORACLE_ORACLE_TYPES_HXX
#define ODB_ORACLE_ORACLE_TYPES_HXX

#include <odb/pre.hxx>

#include <odb/oracle/version.hxx>
#include <odb/oracle/oracle-fwd.hxx>

namespace odb
{
  namespace oracle
  {
    struct bind
    {
      ub2 type;          // The type stored in the memory pointed to by buffer
                         // This must be an external OCI type identifier
                         // of the form SQLT_XXX.
      void* buffer;
      ub2* size;         // The number of bytes of data contained by buffer.
      sb4 capacity;      // The maximum number of bytes that can be stored in
                         // buffer.
      sb2* indicator;    // Pointer to an OCI indicator variable.
    };
  }
}

#include <odb/post.hxx>

#endif // ODB_ORACLE_ORACLE_TYPES_HXX