aboutsummaryrefslogtreecommitdiff
path: root/dbfp.h
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2016-03-10 18:03:22 +0100
committerRobin Krahl <me@robin-krahl.de>2016-03-10 18:03:22 +0100
commit99319968f3e3ebbdce6c37f04243f734e98b28b3 (patch)
tree9b750ab244fbd2c359999a0432572a57a1c84dd3 /dbfp.h
parent2d3fffa502e808452848b7396b4e121917ddc787 (diff)
downloaddbfp-99319968f3e3ebbdce6c37f04243f734e98b28b3.tar.gz
dbfp-99319968f3e3ebbdce6c37f04243f734e98b28b3.tar.bz2
dbfp: introduce dbfp_location_close
dbfp_location_close releases the resources allocated by a dbfp_location structure. It does not free the structure itself.
Diffstat (limited to 'dbfp.h')
-rw-r--r--dbfp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbfp.h b/dbfp.h
index 7871372..589ac06 100644
--- a/dbfp.h
+++ b/dbfp.h
@@ -33,6 +33,7 @@ struct dbfp_location {
int dbfp_init(struct dbfp *dbfp, char *key);
void dbfp_close(struct dbfp *dbfp);
+void dbfp_location_close(struct dbfp_location *location);
int dbfp_query_location_name(struct dbfp *dbfp, char *input,
size_t *n, struct dbfp_location **locations);