summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-11-18 11:57:30 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-11-18 12:00:35 +0100
commit1c5849c5a8b2b3ccc48caf55e5568f122bb0be9a (patch)
tree194c28da5a4b71743928dfbd49b23e263a076677
parent3f3b7259453a4519e40e90b15962331158928ac4 (diff)
downloadefl-1c5849c5a8b2b3ccc48caf55e5568f122bb0be9a.tar.gz
doxygen: Prevent auto-linking of invalid links
Anything starting with http://, ftp:// or file:// is automatically converted into a link by doxygen. However, we have a few instances where we do not want this. Fortunately, doxygen allows using % to forbid specific words from being linked.
-rw-r--r--src/lib/ecore_file/Ecore_File.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_file/Ecore_File.h b/src/lib/ecore_file/Ecore_File.h
index 23a0521945..37f3bd8a0c 100644
--- a/src/lib/ecore_file/Ecore_File.h
+++ b/src/lib/ecore_file/Ecore_File.h
@@ -609,8 +609,8 @@ EAPI Eina_List *ecore_file_app_list(void);
* @return @c EINA_TRUE if the download start or @c EINA_FALSE on failure.
*
* This function starts the download of the URL @p url and saves it to
- * @p dst. @p url must provide the protocol, including 'http://',
- * 'ftp://' or 'file://'. Ecore_File must be compiled with CURL to
+ * @p dst. @p url must provide the protocol, including '%http://',
+ * '%ftp://' or '%file://'. Ecore_File must be compiled with CURL to
* download using http and ftp protocols. If @p dst is ill-formed, or
* if it already exists, the function returns @c EINA_FALSE. When the
* download is complete, the callback @p completion_cb is called and
@@ -684,8 +684,8 @@ EAPI void ecore_file_download_abort(Ecore_File_Download_Job *job);
* @return @c EINA_TRUE if protocol is handled, @c EINA_FALSE otherwise.
*
* This function returns @c EINA_TRUE if @p protocol is supported,
- * @c EINA_FALSE otherwise. @p protocol can be 'http://', 'ftp://' or
- * 'file://'. Ecore_FILE must be compiled with CURL to handle http and
+ * @c EINA_FALSE otherwise. @p protocol can be '%http://', '%ftp://' or
+ * '%file://'. Ecore_FILE must be compiled with CURL to handle http and
* ftp protocols.
*/
EAPI Eina_Bool ecore_file_download_protocol_available(const char *protocol);