summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.h
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-02-13 14:30:27 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2017-02-13 14:30:27 +0100
commit73349edc19305e2c852ecbdd48dd8b8880fcd4ca (patch)
tree8129104a5093c7943edeca9e7ad0e085b9c0f155 /src/lib/eina/eina_file.h
parent0daed02e8988f9669cd3da47724e82d6929b23b9 (diff)
eina: make the ein_file_unlink symbol availbale form the ein_file header
It was only defined in the c file. Without any documentation, since tag, etc. tests/eina/eina_test_file.c:855:4: warning: implicit declaration of function ‘eina_file_unlink’ [-Wimplicit-function-declaration]
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_file.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/eina/eina_file.h b/src/lib/eina/eina_file.h
index 758167695e..7a1c55994f 100644
--- a/src/lib/eina/eina_file.h
+++ b/src/lib/eina/eina_file.h
@@ -757,6 +757,20 @@ static inline size_t eina_file_path_join(char *dst,
757 const char *a, 757 const char *a,
758 const char *b); 758 const char *b);
759 759
760
761/**
762 * @brief Unlink file
763 *
764 * @param pathname File name to unlink.
765 * @return #EINA_TRUE if the unlink was successfull, #EINA_FALSE otherwise..
766 *
767 * This function is a wrapper around the unlink() system call. It removes a link to
768 * a file.
769 *
770 * @since 1.19
771 */
772EAPI Eina_Bool eina_file_unlink(const char *pathname);
773
760#include "eina_inline_file.x" 774#include "eina_inline_file.x"
761 775
762/** 776/**