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 7 85.7 %
Date: 2015-10-31 Functions: 2 2 100.0 %

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

Generated by: LCOV version 1.10