#ifndef __NQS_GENERIC_PROTO_HEADER
#define __NQS_GENERIC_PROTO_HEADER

/*
 * nqs_generic/all-systems/proto.h
 * Prototypes for functions in the nqs_generic library.
 */

#include <nqs_generic/license.h>
  /* NQS license information */
#include <grp.h>
  /* for definition of gid_t type */
#include <nmap/nmap.h>
  /* for definition of mid_t type - to be REMOVED in the future */
#include <stdio.h>
  /* for definition of FILE */
#include <sys/types.h>
  /* for definition of time_t */

/*
 * NOTE - a non-ANSI C compiler will choke on this file.
 * This is not our problem ... you should obtain such a compiler
 * from your vendor, or use the GNU GCC compiler instead.
 */

extern char *	asciierrno	(void);
extern void 	bufstderr	(void);
extern void	bufstdout	(void);
extern int	buildenv	(void);
extern void     bytecopy	(char *, char *, int);
extern void	bytezero	(char *, int);
extern long	errnototcm	(void);
extern long	filecopyentire	(int, int);
extern char *	fmtgidname	(gid_t);
extern char *	fmtmidname	(Mid_t);
extern char *	fmttime		(time_t);
extern FILE *	fopendata	(long, Mid_t, int);
extern char *	getenviron	(char *);
extern char *	getfilnam	(char *, short);
extern char *	getwdir		(void);
extern void	relfilnam	(char *);

#endif /* __NQS_GENERIC_PROTO_HEADER */
