summaryrefslogtreecommitdiff
path: root/libspectre
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-02-21 17:22:07 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2010-02-21 17:22:07 +0100
commit18a4e6d9746614227b404df4399471d2a2858f1f (patch)
tree58aa5e8cb43418a5b516380597d2d95f00a7318c /libspectre
parentd25e37b5e52d83af50924a548da6f10983960735 (diff)
Make spectre_gs_process() public so that it can be used by exporters
It's public in the internal private API
Diffstat (limited to 'libspectre')
-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,