splitted pcp_readz85file() and added pcp_readz85string() which makes a better interface

This commit is contained in:
TLINDEN
2013-12-02 22:50:45 +01:00
parent 3453be54af
commit 4d34a9135e
2 changed files with 17 additions and 14 deletions

View File

@@ -41,5 +41,6 @@ unsigned char *pcp_z85_decode(char *z85block, size_t *dstlen);
char *pcp_z85_encode(unsigned char *raw, size_t srclen, size_t *dstlen);
char *pcp_readz85file(FILE *infile);
char *pcp_readz85string(unsigned char *input, size_t bufsize);
#endif // _HAVE_PCP_Z85_H