/* %Z%%M% %I% %E% */

/*
 * Copyright (c) 1990, 1991, 1994, 1995 by Wayne C. Gramlich.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

/* Word buffer exported routine interfaces: */

#ifndef WBUF_EXPORTS_H
#define WBUF_EXPORTS_H

#ifndef HEAP_TYPES_H
#include "heap_types.h"
#endif

#ifndef PORT_H
#include "port.h"
#endif

#ifndef STR_TYPES_H
#include "str_types.h"
#endif

#ifndef UNIX_STDARG_H
#include "unix_stdarg.h"
#endif

#ifndef WBUF_TYPES_H
#include "wbuf_types.h"
#endif

extern void	wbuf_buffer(Wbuf, Str, int);
extern char	*wbuf_buffer_get(Wbuf);
extern void	wbuf_buffer_set(Wbuf, Str, int);
extern void	wbuf_chr(Wbuf, char);
extern void	wbuf_close(Wbuf);
extern Wbuf	wbuf_create(Str, int,
				     Wbuf_close, Wbuf_flush, Pointer, Heap);
extern Wbuf	wbuf_file_create(Str, int, Heap);
extern void	wbuf_file_close(Wbuf, Wbuf_file);
extern void	wbuf_file_flush(Str, int, Wbuf, Wbuf_file);
extern void	wbuf_flush(Wbuf);
extern void	wbuf_int(Wbuf, int);
extern int		wbuf_offset_get(Wbuf);
extern void	wbuf_offset_set(Wbuf, int);
extern void	wbuf_print(Wbuf, Str, ...);
extern void	wbuf_print_varargs(Wbuf, Str, va_list);
extern int		wbuf_size_get(Wbuf);
extern void	wbuf_str(Wbuf, Str);

#endif /* WBUF_EXPORTS_H */

