summaryrefslogtreecommitdiff
path: root/libgphoto2_port/gphoto2
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2022-05-15 18:36:46 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2022-05-19 17:11:17 +0200
commit77f3b22e937c212fb330a18b3f1924b3a7539122 (patch)
treeec9fa26e96f8f26535d086c2db30f34b2fa4cccb /libgphoto2_port/gphoto2
parent00b09b0d45f503e4cb4e02bc25e239c109bd7865 (diff)
downloadlibgphoto2-77f3b22e937c212fb330a18b3f1924b3a7539122.tar.gz
Complete what adding gp_init_localedir() started
Complete what adding the gp_init_localedir() function implied: * only set success flag in the success case * consistent use of "initialize" spelling * add analogous gp_port_init_localedir() function * implement and document edge cases * update NEWS
Diffstat (limited to 'libgphoto2_port/gphoto2')
-rw-r--r--libgphoto2_port/gphoto2/gphoto2-port-info-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
index 9fe85a123..53f9ef39d 100644
--- a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
+++ b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h
@@ -94,6 +94,9 @@ int gp_port_info_list_get_info (GPPortInfoList *list, int n, GPPortInfo *info);
const char *gp_port_message_codeset (const char*);
+int gp_port_init_localedir (const char *localedir);
+
+
/**
* Name of the environment variable which may contain the path where
* to look for the IO libs. If this environment variable is not defined,