/*====================================================================* * * format.h - format function definitions and declarations;; * * this file is a subset of the original that includes only those * definitions and declaration needed for toolkit programs; * * Motley Tools by Charles Maier <cmaier@cmassoc.net>; * Copyright 2001-2006 by Charles Maier Associates; * Licensed under the Internet Software Consortium License; * *--------------------------------------------------------------------*/ #ifndef FORMAT_HEADER #define FORMAT_HEADER /*====================================================================* * system header files; *--------------------------------------------------------------------*/ #include <unistd.h> /*====================================================================* * functions; *--------------------------------------------------------------------*/ size_t strfbits (char buffer [], size_t length, char const * operands [], char const *operator, unsigned flagword); /*====================================================================* * functions; *--------------------------------------------------------------------*/ #ifdef __GNUC__ __attribute__ ((format (printf, 2, 3))) #endif void output (signed indent, char const * format, ...); #ifdef __GNUC__ __attribute__ ((format (printf, 3, 4))) #endif void markup (signed fd, signed level, char const * format, ...); /*====================================================================* * end definitions; *--------------------------------------------------------------------*/ #endif