summaryrefslogtreecommitdiff
path: root/src/journal/catalog.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-02 21:35:31 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-02 22:12:02 -0500
commitc7332b0844e28d9b70c3c763b929f105c1056fe8 (patch)
tree256ac480ebbe3a8a88b5a8b4fb8be8c57cfe7d22 /src/journal/catalog.h
parent6a371e23ee0e47827fb4e3aa469ed84da2599304 (diff)
catalog: determine language from the filename
Diffstat (limited to 'src/journal/catalog.h')
-rw-r--r--src/journal/catalog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/catalog.h b/src/journal/catalog.h
index 24a2d0b553..5e15b99ac0 100644
--- a/src/journal/catalog.h
+++ b/src/journal/catalog.h
@@ -34,4 +34,5 @@ int catalog_update(const char* database, const char* root, const char* const* di
int catalog_get(const char* database, sd_id128_t id, char **data);
int catalog_list(FILE *f, const char* database, bool oneline);
int catalog_list_items(FILE *f, const char* database, bool oneline, char **items);
+int catalog_file_lang(const char *filename, char **lang);
extern const char * const catalog_file_dirs[];