1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/*
* status.h: header for status.c
*
* Copyright 1990 Michael Sandrof
* Copyright 1997 EPIC Software Labs
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
*/
#ifndef __status_h__
#define __status_h__
struct WindowStru;
#define MAX_FUNCTIONS 40
typedef struct status_line {
char * raw;
char * format;
const char * (*func[MAX_FUNCTIONS]) (struct WindowStru *, int, int);
int map[MAX_FUNCTIONS];
int key[MAX_FUNCTIONS];
int count;
char * result;
} Status_line;
typedef struct status_stuff {
Status_line line[3];
int double_status;
char *special;
} Status;
extern Status main_status;
char * convert_sub_format (const char *, char);
int make_status (struct WindowStru *, int); /* Don't call */
void build_status (const void *);
int permit_status_update (int);
void rebuild_a_status (struct WindowStru *); /* Don't call */
#endif /* _STATUS_H_ */
|