LCOV - code coverage report
Current view: top level - src/protocol2 - sbuf_protocol2.c (source / functions) Hit Total Coverage
Test: burp-coverage-clean.info Lines: 7 7 100.0 %
Date: 2015-11-30 Functions: 2 2 100.0 %

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

Generated by: LCOV version 1.10