rcsid.h

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00011 /*
00012   AUTHOR(S): Andreas Huggel (ahu)
00013 
00014   RCS information
00015    $Name: OSB_060808 $
00016    $Revision: 1.6 $
00017 
00018   License
00019    OSB rating and billing library for communication networks
00020    Copyright (C) 2004, 2005, 2006  OSB systems
00021 
00022    This file may be distributed and/or modify under the terms of the
00023    GNU General Public License (GPL) as published by the Free Software
00024    Foundation which is provided in the file LICENSE.GPL included in the
00025    packaging of this file.
00026 
00027    The file is distributed in the hope that it will be useful, but WITHOUT
00028    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00029    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00030    for more details.
00031 
00032    Holders of a OSB Commercial License may use this file under the terms
00033    and conditions of this commercial license.
00034  */
00035 #ifndef _RCSID_H_
00036 #define _RCSID_H_
00037 
00038 #if !defined (OSB_RCSID)
00039 #define OSB_RCSID(id) \
00040     namespace { \
00041         inline const char* get_rcsid(const char*) \
00042         { \
00043             return id ; \
00044         } \
00045         const char* rcsid = get_rcsid(rcsid); \
00046     }
00047 
00048 #endif // #if !defined (OSB_RCSID)
00049 #endif // #ifndef _RCSID_H_

Generated on Sat Sep 2 14:06:34 2006 for OSB Library by  doxygen 1.4.7