~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/convert.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
 
21
 
 
22
 
21
23
#ifndef DRIZZLED_UTIL_CONVERT_H
22
24
#define DRIZZLED_UTIL_CONVERT_H
23
25
 
26
28
#include <iostream>
27
29
#include <sstream>
28
30
 
 
31
#include "drizzled/visibility.h"
 
32
 
29
33
namespace drizzled
30
34
{
31
35
 
45
49
 
46
50
void bytesToHexdumpFormat(std::string &s, const unsigned char *from, size_t from_length);
47
51
 
48
 
uint64_t drizzled_string_to_hex(char *to, const char *from,
49
 
                                uint64_t from_size);
50
 
void drizzled_hex_to_string(char *to, const char *from, uint64_t from_size);
 
52
DRIZZLED_API uint64_t drizzled_string_to_hex(char *to, const char *from,
 
53
                                             uint64_t from_size);
 
54
DRIZZLED_API void drizzled_hex_to_string(char *to, const char *from,
 
55
                                         uint64_t from_size);
51
56
 
52
57
} /* namespace drizzled */
53
58