aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.h b/text.h
index a5816eb..43ff9c1 100644
--- a/text.h
+++ b/text.h
@@ -95,6 +95,7 @@ enum TextLoadMethod {
* @endrst
*/
Text *text_load(const char *filename);
+Text *text_loadat(int dirfd, const char *filename);
/**
* Create a text instance populated with the given file content.
*
@@ -109,6 +110,7 @@ Text *text_load(const char *filename);
* @endrst
*/
Text *text_load_method(const char *filename, enum TextLoadMethod);
+Text *text_loadat_method(int dirfd, const char *filename, enum TextLoadMethod);
/** Release all ressources associated with this text instance. */
void text_free(Text*);
/**