Factor out filter setup from the reading and writing loops

This commit is contained in:
Eric Fischer
2016-12-08 15:46:12 -08:00
parent d1dc310bbc
commit d940eb1cef
2 changed files with 42 additions and 27 deletions
+1
View File
@@ -1 +1,2 @@
mvt_layer filter_layer(const char *filter, mvt_layer &layer, unsigned z, unsigned x, unsigned y);
void setup_filter(const char *filter, int *write_to, int *read_from, pid_t *pid, unsigned z, unsigned x, unsigned y);