aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 16:23:56 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 16:23:56 +0100
commit627e5b9789c663343c74dac6535724ddc63aae1c (patch)
treeaf78890b546b774267ff82520f0756dd159f8d86 /common.h
parentImprove libfonts_get_default_font_name and draft implementation of libfonts_get_default_font (diff)
downloadlibfonts-627e5b9789c663343c74dac6535724ddc63aae1c.tar.gz
libfonts-627e5b9789c663343c74dac6535724ddc63aae1c.tar.bz2
libfonts-627e5b9789c663343c74dac6535724ddc63aae1c.tar.xz
Add environment spoofing
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.h b/common.h
index 4937a76..2451cb7 100644
--- a/common.h
+++ b/common.h
@@ -33,6 +33,10 @@ eq(double a, double b)
}
+const char *libfonts_getenv__(const char *name, struct libfonts_context *ctx);
+char *libfonts_gethome__(struct libfonts_context *ctx);
+
+
#ifdef TEST
# define ASSERT(ASSERTION)\