src/asn1_helper.h
author Krista Bennett <krista@pep-project.org>
Tue, 01 Aug 2017 16:40:24 +0200
branchmessage-2.0
changeset 1979 3d0a778d035a
parent 1513 e7f7e42385b5
permissions -rw-r--r--
Changed name to ENGINE-214 for JIRA tracking - please use that branch instead.
     1 // This file is under GNU General Public License 3.0
     2 // see LICENSE.txt
     3 
     4 #pragma once
     5 
     6 #include <string.h>
     7 
     8 typedef struct growing_buf {
     9     char *data;
    10     size_t size;
    11 } growing_buf_t;
    12 
    13 growing_buf_t *new_growing_buf(void);
    14 void free_growing_buf(growing_buf_t *buf);
    15 int consume_bytes(const void *src, size_t size, growing_buf_t *dst);
    16