1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/*----------------------------------------------------------------------------*/
/* Xymon monitor library. */
/* */
/* Copyright (C) 2002-2011 Henrik Storner <henrik@storner.dk> */
/* */
/* This program is released under the GNU General Public License (GPL), */
/* version 2. See the file "COPYING" for details. */
/* */
/*----------------------------------------------------------------------------*/
#ifndef __ENCODING_H__
#define __ENCODING_H__
extern char *base64encode(unsigned char *buf);
extern char *base64decode(unsigned char *buf);
extern void getescapestring(char *msg, unsigned char **buf, int *buflen);
extern unsigned char *nlencode(unsigned char *msg);
extern void nldecode(unsigned char *msg);
#endif
|