On 10-02-2012 18:28, Claudio Valderrama C. wrote:
> People, I was looking at blb_proto.h and I can't decide:
> 
> ....
> Jrd::blb*   BLB_create(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::bid*);
> Jrd::blb*   BLB_create2(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::bid*, USHORT,
> const UCHAR*);
> ....
> Jrd::blb* BLB_open(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::bid*);
> Jrd::blb* BLB_open2(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::bid*, USHORT,
> const UCHAR*, bool = false);
> 
> Is it better to leave them as independent functions (as they are now),
> static functions of "blb" or functions of "bid"? Suggestions? For me, they
> seem like "bid" member functions.
> Thanks.
> 

Do not think it must be in bid. They must be static in blb IMO.


Adriano

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to