summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-01-31 07:48:21 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-01-31 07:48:21 -0600
commit093484d137dbbf372d39243fae02eb4c4b05d81d (patch)
treee97868eba29759fdf1b9159010ade8e3d17a4bb7 /include
parenteb9440edf72c76dd35a9ddafb515e27631e20384 (diff)
parent84a6365164394c8d8f9129d433b310ef3214b5dc (diff)
Merge "loader: Use ast_cli_completion_add for 'module load' completion."
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 453dc0746..c17cb327b 100644
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -143,6 +143,11 @@ int ast_filecopy(const char *oldname, const char *newname, const char *fmt);
* \param filename the name of the file
* \param obj user data object
* \return non-zero to stop reading, otherwise zero to continue
+ *
+ * \note dir_name is not processed by realpath or other functions,
+ * symbolic links are not resolved. This ensures dir_name
+ * always starts with the exact string originally passed to
+ * \ref ast_file_read_dir or \ref ast_file_read_dirs.
*/
typedef int (*ast_file_on_file)(const char *dir_name, const char *filename, void *obj);