diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-08-21 12:48:32 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-08-29 13:34:41 +0200 |
| commit | 57a13bcea2b70c09aff2953bd0a2d451659e9bdd (patch) | |
| tree | e89623e4812e4069033b9dc7da3d2060e0bb351f /text.h | |
| parent | 6aaab772e878eb7605f2fa5d1b07b1ada1af1f30 (diff) | |
| download | vis-57a13bcea2b70c09aff2953bd0a2d451659e9bdd.tar.gz vis-57a13bcea2b70c09aff2953bd0a2d451659e9bdd.tar.xz | |
text: provide load function taking a directory descriptor
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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*); /** |
