@@ -23,6 +23,38 @@ namespace pdal
2323#else
2424#include < stdbool.h>
2525#endif
26+ /* *
27+ * Retrieves the path to the GDAL data directory.
28+ *
29+ * @param[out] path The buffer used to retrieve the path
30+ * @param size The size of the provided buffer
31+ * @return The size of the retrieved path
32+ */
33+ PDALC_API size_t PDALGetGdalDataPath (char *path, size_t size);
34+
35+ /* *
36+ * Retrieves the path to the proj4 data directory.
37+ *
38+ * @param[out] path The buffer used to retrieve the path
39+ * @param size The size of the provided buffer
40+ * @return The size of the retrieved path
41+ */
42+ PDALC_API size_t PDALGetProj4DataPath (char *path, size_t size);
43+
44+ /* *
45+ * Sets the path to the GDAL data directory.
46+ *
47+ * @param path The path to set
48+ */
49+ PDALC_API void PDALSetGdalDataPath (const char *path);
50+
51+ /* *
52+ * Sets the path to the proj4 data directory.
53+ *
54+ * @param path The path to set
55+ */
56+ PDALC_API void PDALSetProj4DataPath (const char *path);
57+
2658 /* *
2759 * Retrieves the full PDAL version string.
2860 * The full version string includes the major version number, the minor version
@@ -66,7 +98,7 @@ namespace pdal
6698 *
6799 * @see pdal::config::sha1
68100 *
69- * @param[out] version The buffer used to retrieve the SHA1 string
101+ * @param[out] sha1 The buffer used to retrieve the SHA1 string
70102 * @param size The size of the provided buffer
71103 * @return The size of the retrieved SHA1 string
72104 */
@@ -104,7 +136,7 @@ namespace pdal
104136 *
105137 * @see pdal::config::debugInformation
106138 *
107- * @param[out] version The buffer used to retrieve the debugging information
139+ * @param[out] info The buffer used to retrieve the debugging information
108140 * @param size The size of the provided buffer
109141 * @return The size of the retrieved debugging information
110142 */
@@ -115,7 +147,7 @@ namespace pdal
115147 *
116148 * @see pdal::config::pluginInstallPath
117149 *
118- * @param[out] version The buffer used to retrieve the installation path
150+ * @param[out] path The buffer used to retrieve the installation path
119151 * @param size The size of the provided buffer
120152 * @return The size of the retrieved installation path
121153 */
0 commit comments