~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/cslib/CSStrUtil.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 *
27
27
 */
28
28
 
 
29
#pragma once
29
30
#ifndef __CSUTIL_H__
30
31
#define __CSUTIL_H__
31
32
 
77
78
uint64_t        cs_str_to_word8(const char *ptr, bool *overflow = NULL);
78
79
size_t          cs_hex_to_bin(size_t size, void *bin, const char *hex);
79
80
size_t          cs_hex_to_bin(size_t size, void *bin, size_t len, const char *hex);
 
81
// NOTE: cs_bin_to_hex() Always null terminates the result.
80
82
void            cs_bin_to_hex(size_t size, char *hex, size_t len, const void *bin);
81
83
void            cs_strToUpper(char *ptr);
82
84
void            cs_strToLower(char *ptr);