X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.cpp;h=66d49fa8566c5baf87fca684c011bb7ff7720960;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=09775056358b98341a6f0cb8f2ddf6dd026c4dee;hpb=57c1c4822f1de4d983c1aee3bc6059ad2600d991;p=metaproxy-moved-to-github.git diff --git a/src/session.cpp b/src/session.cpp index 0977505..66d49fa 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -1,19 +1,40 @@ +/* This file is part of Metaproxy. + Copyright (C) Index Data + +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 this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #include -#include "session.hpp" +#include #include #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 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +