Sha256: f3d40dceb41ea5301071ff15e15d2c475335b3600c77685f48c30c4b77f8d79f

Contents?: true

Size: 1.71 KB

Versions: 3

Compression:

Stored size: 1.71 KB

Contents

#ifndef BZS_DB_TRANSACTD_CONNECTIONRECORD_H
#define BZS_DB_TRANSACTD_CONNECTIONRECORD_H
/*=================================================================
   Copyright (C) 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>
#include <bzs/env/crosscompile.h>

#pragma option -a-
pragma_pack1

namespace bzs
{
namespace db
{
namespace transactd
{
namespace connection
{	
	struct record
	{
		record():conId(0),dbid(0),cid(0)
		{
			name[0] = 0x00;
			status = 0;
		}
		__int64 conId;
		unsigned int	cid;
		unsigned short  dbid;
		char name[64];
		union
		{
			char  status;
			struct
			{
				char inTransaction:1;
				char inSnapshot   :1;
				char openNormal   :1;
				char openReadOnly :1;
				char openEx       :1;
				char dummy        :3;
			};
		};
	};

}//connection
}//transactd
}//db
}//bzs
	
#pragma option -a
pragma_pop
	
#endif //BZS_DB_TRANSACTD_CONNECTIONRECORD_H

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
transactd-1.2.0 source/bzs/db/transactd/connectionRecord.h
transactd-1.1.2 source/bzs/db/transactd/connectionRecord.h
transactd-1.0.1 source/bzs/db/transactd/connectionRecord.h