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