69 static const char *
line_double =
"===========================================================================\n";
70 static const char *
line_single =
"---------------------------------------------------------------------------\n";
79 printw(FILE *output,
const char *name,
const char *desc)
87 fprintf(output,
"%s\n", name);
89 for (
int i=0; i<
lines; i++) {
90 strncpy(sdesc, line[i], len[i]);
92 const char *name_ptr =
" ";
95 int len = strlen(name);
97 fprintf(output,
"%s\n", name);
130 fprintf(output,
"%s\n", title);
137 fprintf(output,
"Name\t\tDescription\n");
144 printw(output, event, desc);
int strwrap(char *s, int w, char ***line_ret, int **len_ret)
static void printw(FILE *output, const char *name, const char *desc)
void MONITOR_EXT_WRAP_NAME() free(void *ptr)
void display_header_event(FILE *output)
static const char * newline
void display_line_double(FILE *output)
void display_event_info(FILE *output, const char *event, const char *desc)
static const char * line_double
void display_line_single(FILE *output)
const int MAX_DESC_PER_LINE
static const char * line_single
void display_header(FILE *output, const char *title)