Sha256: 73bf060407faeae9d9d18b930c9f30442e5c5fd1ca4fb669ba79d138a4ba910c

Contents?: true

Size: 1.84 KB

Versions: 18

Compression:

Stored size: 1.84 KB

Contents

#ifndef BZS_DB_PROTOCOL_TDAP_MYSQL_CHARACTERSET_H
#define BZS_DB_PROTOCOL_TDAP_MYSQL_CHARACTERSET_H
/*=================================================================
   Copyright (C) 2012 2013 BizStation Corp All rights reserved.

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
=================================================================*/

#include <bzs/env/compiler.h>

#define MAX_CHAR_INFO 41
#define CHARSET_LATIN1 1
#define CHARSET_CP850 4
#define CHARSET_ASCII 9
#define CHARSET_SJIS 11
#define CHARSET_UTF8 22
#define CHARSET_USC2 23
#define CHARSET_UTF8B4 30
#define CHARSET_UTF16LE 33
#define CHARSET_CP932 38
#define CHARSET_EUCJ 40

namespace bzs
{
namespace db
{
namespace protocol
{
namespace tdap
{
namespace mysql
{

PACKAGE unsigned int charsize(int index);
PACKAGE const char* charsetName(int index);
PACKAGE unsigned int charsetIndex(const char* name);
PACKAGE unsigned int charsetIndex(unsigned short codePage);
PACKAGE unsigned int codePage(unsigned short charsetIndex);

} // namespace mysql
} // namespace tdap
} // namespace protocol
} // namespace db
} // namespace bzs

#endif // BZS_DB_PROTOCOL_TDAP_MYSQL_CHARACTERSET_H

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
transactd-3.5.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.4.1 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.4.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.3.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.2.1 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.2.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.1.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-3.0.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.4.5 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.4.4 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.4.3 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.4.2 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.4.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.3.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.2.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.1.0 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.0.1 source/bzs/db/protocol/tdap/mysql/characterset.h
transactd-2.0.0 source/bzs/db/protocol/tdap/mysql/characterset.h