summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libspectre/spectre-gs.c2
-rw-r--r--libspectre/spectre-gs.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/libspectre/spectre-gs.c b/libspectre/spectre-gs.c
index 27e477b..93444a4 100644
--- a/libspectre/spectre-gs.c
+++ b/libspectre/spectre-gs.c
@@ -74,7 +74,7 @@ spectre_gs_stdout (void *handler, const char *out, int len)
return len;
}
-static int
+int
spectre_gs_process (SpectreGS *gs,
const char *filename,
int x,
diff --git a/libspectre/spectre-gs.h b/libspectre/spectre-gs.h
index 2725132..b673ce8 100644
--- a/libspectre/spectre-gs.h
+++ b/libspectre/spectre-gs.h
@@ -42,6 +42,12 @@ int spectre_gs_set_display_callback (SpectreGS *gs,
int spectre_gs_run (SpectreGS *gs,
int n_args,
char **args);
+int spectre_gs_process (SpectreGS *gs,
+ const char *filename,
+ int x,
+ int y,
+ long begin,
+ long end);
int spectre_gs_send_string (SpectreGS *gs,
const char *str);
int spectre_gs_send_page (SpectreGS *gs,