mt.h (multitail-6.2.1.tgz) | : | mt.h (multitail-6.4.tgz) | ||
---|---|---|---|---|
#ifndef __MT_H__ | ||||
#define __MT_H__ | ||||
#define _LARGEFILE64_SOURCE /* required for GLIBC to enable stat64 and friend | ||||
s */ | ||||
#include <regex.h> | ||||
#include <stdint.h> | ||||
#include <stdio.h> | ||||
#include <arpa/inet.h> | ||||
#include <sys/socket.h> | ||||
#include <sys/types.h> | ||||
#define WAIT_FOR_FILE_DELAY (250) /* sleep when waiting for a file to becom e available */ | #define WAIT_FOR_FILE_DELAY (250) /* sleep when waiting for a file to becom e available */ | |||
#define MAX_N_RE_MATCHES (80) /* max. number of regex matches: used for coloring matches */ | #define MAX_N_RE_MATCHES (80) /* max. number of regex matches: used for coloring matches */ | |||
#define MIN_N_BUFFERLINES (100) /* number of lines to buffer at minimum * / | #define MIN_N_BUFFERLINES (100) /* number of lines to buffer at minimum * / | |||
#define MAX_N_SPAWNED_PROCESSES (16) /* max. nr. of processes executed by matching regexps */ | #define MAX_N_SPAWNED_PROCESSES (16) /* max. nr. of processes executed by matching regexps */ | |||
#define MAX_N_COLUMNS (15) /* max number of columns */ | #define MAX_N_COLUMNS (15) /* max number of columns */ | |||
#define DEFAULT_TAB_WIDTH (4) | #define DEFAULT_TAB_WIDTH (4) | |||
#define DEFAULT_COLORPAIRS (8) | #define DEFAULT_COLORPAIRS (8) | |||
#define MAX_BACKTRACE_LENGTH (256) | #define MAX_BACKTRACE_LENGTH (256) | |||
#define SCRIPT_IO_BUFFER_SIZE (4096) | #define SCRIPT_IO_BUFFER_SIZE (4096) | |||
#define CONFIG_READ_BUFFER (4096) | #define CONFIG_READ_BUFFER (4096) | |||
skipping to change at line 502 | skipping to change at line 513 | |||
void statistics(void); | void statistics(void); | |||
int emit_to_buffer_and_term(int f_index, proginfo *cur, char *line); | int emit_to_buffer_and_term(int f_index, proginfo *cur, char *line); | |||
void add_pars_per_file(char *re, char *colorscheme, int n_buffer_lines, int buff er_bytes, char change_win_marker, int fs, int es, char *conversion_scheme); | void add_pars_per_file(char *re, char *colorscheme, int n_buffer_lines, int buff er_bytes, char change_win_marker, int fs, int es, char *conversion_scheme); | |||
void version(void); | void version(void); | |||
void usage(void); | void usage(void); | |||
void create_new_win(proginfo **cur, int *nr); | void create_new_win(proginfo **cur, int *nr); | |||
void delete_be_in_buffer(buffer *pb); | void delete_be_in_buffer(buffer *pb); | |||
void do_restart_window(proginfo *cur); | void do_restart_window(proginfo *cur); | |||
void LOG(char *str, ...); | void LOG(char *str, ...); | |||
#endif | ||||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added |