LCOV - code coverage report
Current view: top level - src - version.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 8 100.0 %
Date: 2017-01-22 02:53:10 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Network Address -- classes functions to ease handling IP addresses
       2             : // Copyright (C) 2012-2017  Made to Order Software Corp.
       3             : //
       4             : // http://snapwebsites.org/project/libaddr
       5             : //
       6             : // This program is free software; you can redistribute it and/or modify
       7             : // it under the terms of the GNU General Public License as published by
       8             : // the Free Software Foundation; either version 2 of the License, or
       9             : // (at your option) any later version.
      10             : //
      11             : // This program is distributed in the hope that it will be useful,
      12             : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13             : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14             : // GNU General Public License for more details.
      15             : //
      16             : // You should have received a copy of the GNU General Public License
      17             : // along with this program; if not, write to the Free Software
      18             : // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
      19             : 
      20             : // self
      21             : //
      22             : #include "libaddr/addr.h"
      23             : #include "libaddr/version.h"
      24             : 
      25             : 
      26             : namespace addr
      27             : {
      28             : 
      29           1 : int get_version_major()
      30             : {
      31           1 :     return LIBADDR_VERSION_MAJOR;
      32             : }
      33             : 
      34             : 
      35           1 : int get_version_minor()
      36             : {
      37           1 :     return LIBADDR_VERSION_MINOR;
      38             : }
      39             : 
      40             : 
      41           1 : int get_version_patch()
      42             : {
      43           1 :     return LIBADDR_VERSION_PATCH;
      44             : }
      45             : 
      46             : 
      47           1 : char const * get_version_string()
      48             : {
      49           1 :     return LIBADDR_VERSION_STRING;
      50             : }
      51             : 
      52             : 
      53             : 
      54             : }
      55             : // snap_addr namespace
      56             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.12