X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fsession.cpp;h=20d566f75accbc823034c25666aafeec49dd0a91;hb=0ab6e8aba7de1ea5cf109de175f56c9d8f7f49bc;hp=09775056358b98341a6f0cb8f2ddf6dd026c4dee;hpb=57c1c4822f1de4d983c1aee3bc6059ad2600d991;p=metaproxy-moved-to-github.git diff --git a/src/session.cpp b/src/session.cpp index 0977505..20d566f 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -1,3 +1,23 @@ +/* $Id: session.cpp,v 1.6 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. + +This file is part of Metaproxy. + +Metaproxy 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, or (at your option) any later +version. + +Metaproxy 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 Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. + */ #include @@ -6,14 +26,17 @@ #include "config.hpp" +namespace mp = metaproxy_1; + // defining and initializing static members -boost::mutex yp2::Session::m_mutex; -unsigned long int yp2::Session::m_global_id = 0; +boost::mutex mp::Session::m_mutex; +unsigned long int mp::Session::m_global_id = 0; /* * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */