summaryrefslogtreecommitdiffstats
path: root/locfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'locfile.h')
-rw-r--r--locfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/locfile.h b/locfile.h
index 4e20df27..48c460f4 100644
--- a/locfile.h
+++ b/locfile.h
@@ -16,9 +16,11 @@ struct locfile {
int nlines;
char *error;
jq_state *jq;
+ int refct;
};
-void locfile_init(struct locfile* l, jq_state *jq, const char* data, int length);
+struct locfile* locfile_init(jq_state *jq, const char* data, int length);
+struct locfile* locfile_retain(struct locfile* l);
void locfile_free(struct locfile* l);