-/* File z-form.h */
+/* File z-form.h */
+
+/*
+ * Copyright (c) 1997 Ben Harrison
+ *
+ * This software may be copied and distributed for educational, research,
+ * and not for profit purposes provided that this copyright and statement
+ * are included in all such copies.
+ */
#ifndef INCLUDED_Z_FORM_H
#define INCLUDED_Z_FORM_H
/**** Available Functions ****/
/* Format arguments into given bounded-length buffer */
-extern uint vstrnfmt(char *buf, uint max, cptr fmt, va_list vp);
+extern uint vstrnfmt(char *buf, uint max, concptr fmt, va_list vp);
/* Simple interface to "vstrnfmt()" */
-extern uint strnfmt(char *buf, uint max, cptr fmt, ...);
+extern uint strnfmt(char *buf, uint max, concptr fmt, ...);
/* Simple interface to "vstrnfmt()", assuming infinite length */
-extern uint strfmt(char *buf, cptr fmt, ...);
+extern uint strfmt(char *buf, concptr fmt, ...);
/* Format arguments into a static resizing buffer */
-extern char *vformat(cptr fmt, va_list vp);
+extern char *vformat(concptr fmt, va_list vp);
/* Simple interface to "vformat()" */
-extern char *format(cptr fmt, ...);
+extern char *format(concptr fmt, ...);
/* Vararg interface to "plog()", using "format()" */
-extern void plog_fmt(cptr fmt, ...);
+extern void plog_fmt(concptr fmt, ...);
/* Vararg interface to "quit()", using "format()" */
-extern void quit_fmt(cptr fmt, ...);
+extern void quit_fmt(concptr fmt, ...);
/* Vararg interface to "core()", using "format()" */
-extern void core_fmt(cptr fmt, ...);
+extern void core_fmt(concptr fmt, ...);
#endif