aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/details/number.hxx
blob: 4f496430eaa4d955d35bfa4cbc03a41bb2160d66 (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
35
// file      : odb/oracle/details/number.hxx
// author    : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef ODB_ORACLE_NUMBER_HXX
#define ODB_ORACLE_NUMBER_HXX

#include <odb/pre.hxx>
#include <odb/oracle/details/export.hxx>

namespace odb
{
  namespace oracle
  {
    namespace details
    {
      LIBODB_ORACLE_EXPORT long long
      number_to_int64 (const unsigned char* buffer);

      LIBODB_ORACLE_EXPORT void
      int64_to_number (unsigned char* buffer, long long value);

      LIBODB_ORACLE_EXPORT unsigned long long
      number_to_uint64 (const unsigned char* buffer);

      LIBODB_ORACLE_EXPORT void
      uint64_to_number (unsigned char* buffer, unsigned long long value);
    }
  }
}

#include <odb/post.hxx>

#endif // ODB_ORACLE_NUMBER_HXX