view src/libstrfunc.h @ 358:6abc3054cba2

From Jeffrey Morlan: If a readpst child process fails with a nonzero status code for whatever reason (killed, segfault, out-of-memory, ...) the parent process will continue and likely end up exiting with status 0, tricking the caller into thinking readpst was successful when it was not.
author Carl Byington <carl@five-ten-sg.com>
date Wed, 06 Jul 2016 10:19:01 -0700
parents c947b8812120
children
line wrap: on
line source


#ifndef __PST_LIBSTRFUNC_H
#define __PST_LIBSTRFUNC_H

#include "common.h"

char *pst_base64_encode(void *data, size_t size);
char *pst_base64_encode_single(void *data, size_t size);
char *pst_base64_encode_multiple(void *data, size_t size, int *line_count);

#endif