123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*====================================================================*
- *
- * 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;
- * 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
|