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: 2018-05-29 13:53:20 Functions: 2 2 100.0 %

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

Generated by: LCOV version 1.13