/*----------------------------------------------------------------------------*/
/* 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 __STACKIO_H__
#define __STACKIO_H__

#define MAX_LINE_LEN 16384

extern int initfgets(FILE *fd);
extern char *unlimfgets(strbuffer_t *buffer, FILE *fd);
extern FILE *stackfopen(char *filename, char *mode, void **v_filelist);
extern int stackfclose(FILE *fd);
extern char *stackfgets(strbuffer_t *buffer, char *extraincl);
extern int stackfmodified(void *v_listhead);
extern void stackfclist(void **v_listhead);

#endif

