version 1.5, 2009/10/18 19:02:11 |
version 1.7, 2009/11/07 08:26:45 |
|
|
#ifndef OUT_H |
#ifndef OUT_H |
#define OUT_H |
#define OUT_H |
|
|
|
#define DATESIZ 24 |
|
|
__BEGIN_DECLS |
__BEGIN_DECLS |
|
|
enum roffscale { |
enum roffscale { |
|
|
SCALE_MAX |
SCALE_MAX |
}; |
}; |
|
|
|
enum roffdeco { |
|
DECO_NONE, |
|
DECO_SPECIAL, |
|
DECO_RESERVED, |
|
DECO_BOLD, |
|
DECO_ITALIC, |
|
DECO_ROMAN, |
|
DECO_PREVIOUS, |
|
DECO_MAX |
|
}; |
|
|
struct roffsu { |
struct roffsu { |
enum roffscale unit; |
enum roffscale unit; |
double scale; |
double scale; |
|
|
|
|
int a2roffsu(const char *, |
int a2roffsu(const char *, |
struct roffsu *, enum roffscale); |
struct roffsu *, enum roffscale); |
|
int a2roffdeco(enum roffdeco *, const char **, size_t *); |
|
void time2a(time_t, char *, size_t); |
|
|
__END_DECLS |
__END_DECLS |
|
|