/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* 61haes_r714 src/43haes/usr/sbin/cluster/clstat/clstat.h 1.5 */ /* */ /* Licensed Materials - Property of IBM */ /* */ /* Restricted Materials of IBM */ /* */ /* COPYRIGHT International Business Machines Corp. 1990,2002 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)43 1.5 src/43haes/usr/sbin/cluster/clstat/clstat.h, hacmp.clstat, 61haes_r714 2/4/02 16:02:28 */ /* $Id: clstat.h,v 4.1.4.1 1996/07/22 20:21:04 lahr Exp $ */ /* * COMPONENT_NAME: CLSTAT * * FUNCTIONS: none * * ORIGINS: 27 * * * (C) COPYRIGHT International Business Machines Corp. 1990,1994 * All Rights Reserved * Licensed Materials - Property of IBM * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ #ifndef CLSTAT_H #define CLSTAT_H #define ERROR -1 #define SEPARATORS " \t()[]{}:=" #define COMMENT_CHAR '*' #define ESC_CHAR '\\' #define TIME_BUF_SIZE 100 #define STATE_BUF_SIZE 20 /* * Function prototypes. */ /* functions in clstat.c */ int get_cluster_info(int clstr_ID); char *get_state(int state_number); char *get_substate(int state_number); char *prnt_date(time_t * time_ptr); char *make_filename(); time_t get_clstr_rspns(); int find_cluster(); void sig_handler(); void term_dumb(char c); void show_commands(int detail); void usage(); size_t fmt_date(time_t *, char *, size_t); char *HTML_state_color(int state); char *HTML_substate_color(int substate); #endif