Spaces:
Sleeping
Sleeping
/* | |
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. | |
* | |
* Licensed under the OpenSSL license (the "License"). You may not use | |
* this file except in compliance with the License. You can obtain a copy | |
* in the file LICENSE in the source distribution or at | |
* https://www.openssl.org/source/license.html | |
*/ | |
extern "C" { | |
/* | |
* These names are outdated as of OpenSSL 1.1; a future release | |
* will move them to be deprecated. | |
*/ | |
struct buf_mem_st { | |
size_t length; /* current number of bytes */ | |
char *data; | |
size_t max; /* size of buffer */ | |
unsigned long flags; | |
}; | |
BUF_MEM *BUF_MEM_new(void); | |
BUF_MEM *BUF_MEM_new_ex(unsigned long flags); | |
void BUF_MEM_free(BUF_MEM *a); | |
size_t BUF_MEM_grow(BUF_MEM *str, size_t len); | |
size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len); | |
void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); | |
} | |