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

Generated by: LCOV version 1.12