aboutsummaryrefslogtreecommitdiff
path: root/printmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'printmatch.h')
-rw-r--r--printmatch.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/printmatch.h b/printmatch.h
index 2c4b3ce..c306adf 100644
--- a/printmatch.h
+++ b/printmatch.h
@@ -7,12 +7,11 @@
typedef struct {
const char *normal_color, *match_color, *replace_color;
- void (*fprint_between)(FILE *out, const char *start, const char *end, const char *normal_color);
+ int (*fprint_between)(FILE *out, const char *start, const char *end, const char *normal_color);
void (*on_nl)(FILE *out);
} print_options_t;
__attribute__((nonnull(1,2,3)))
-//void fprint_match(FILE *out, const char *file_start, match_t *m, const char *colors[3]);
-void fprint_match(FILE *out, const char *file_start, match_t *m, print_options_t *opts);
+int fprint_match(FILE *out, const char *file_start, match_t *m, print_options_t *opts);
__attribute__((nonnull))
void explain_match(match_t *m);