LCOV - code coverage report
Current view: top level - src/protocol2 - sbuf_protocol2.c (source / functions) Hit Total Coverage
Test: burp-coverage-clean.info Lines: 6 6 100.0 %
Date: 2019-03-02 00:16:58 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include "../burp.h"
       2             : #include "sbuf_protocol2.h"
       3             : #include "../alloc.h"
       4             : 
       5      100657 : struct protocol2 *sbuf_protocol2_alloc(void)
       6             : {
       7             :         struct protocol2 *protocol2;
       8      100657 :         if(!(protocol2=(struct protocol2 *)
       9             :                 calloc_w(1, sizeof(struct protocol2), __func__)))
      10             :                         return NULL;
      11      100656 :         bfile_setup_funcs(&protocol2->bfd);
      12      100656 :         return protocol2;
      13             : }
      14             : 
      15      229754 : void sbuf_protocol2_free_content(void)
      16             : {
      17      229754 :         return; // Nothing to do.
      18             : }

Generated by: LCOV version 1.13