LCOV - code coverage report
Current view: top level - msus/webserver - regex_routing_msu.c (source / functions) Hit Total Coverage
Test: unnamed Lines: 2 2 100.0 %
Date: 2018-01-11 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             : START OF LICENSE STUB
       3             :     DeDOS: Declarative Dispersion-Oriented Software
       4             :     Copyright (C) 2017 University of Pennsylvania, Georgetown University
       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 3 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, see <http://www.gnu.org/licenses/>.
      18             : END OF LICENSE STUB
      19             : */
      20             : #include "msu_message.h"
      21             : #include "local_msu.h"
      22             : #include "msu_calls.h"
      23             : 
      24             : #include "webserver/regex_routing_msu.h"
      25             : #include "webserver/regex_msu.h"
      26             : 
      27           2 : static int routing_receive(struct local_msu *self, struct msu_msg *msg) {
      28           2 :     return call_msu_type(self, &WEBSERVER_REGEX_MSU_TYPE, &msg->hdr, msg->data_size, msg->data);
      29             : }
      30             : 
      31             : struct msu_type WEBSERVER_REGEX_ROUTING_MSU_TYPE = {
      32             :     .name = "Regex_Routing_MSU",
      33             :     .id = WEBSERVER_REGEX_ROUTING_MSU_TYPE_ID,
      34             :     .receive = routing_receive
      35             : };

Generated by: LCOV version 1.10