diff options
author | Akira TAGOH <akira@tagoh.org> | 2015-06-11 17:30:04 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-07-07 15:52:15 +0900 |
commit | 12b7501bad3ed4d7819b00a27a9c021e7d120aa0 (patch) | |
tree | 018f685d7c071083e664cd5d7fcd3cfff7bf8600 /doc | |
parent | ee2000494c4c8367fe20593709a979d158687855 (diff) |
Add FcConfigParseAndLoadFromMemory() to load a configuration from memory.
https://bugs.freedesktop.org/show_bug.cgi?id=78452
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fcconfig.fncs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/fcconfig.fncs b/doc/fcconfig.fncs index a2ce5c84..59a2227d 100644 --- a/doc/fcconfig.fncs +++ b/doc/fcconfig.fncs @@ -375,6 +375,22 @@ Returns FcFalse if some error occurred while loading the file, either a parse error, semantic error or allocation failure. Otherwise returns FcTrue. @@ +@RET@ FcBool +@FUNC@ FcConfigParseAndLoadFromMemory +@TYPE1@ FcConfig * @ARG1@ config +@TYPE2@ const FcChar8 * @ARG2@ buffer +@TYPE3@ FcBool% @ARG3@ complain +@PURPOSE@ load a configuration from memory +@DESC@ +Walks the configuration in 'memory' and constructs the internal representation +in 'config'. Any includes files referenced from within 'memory' will be loaded +and dparsed. If 'complain' is FcFalse, no warning will be displayed if +'file' does not exist. Error and warning messages will be output to stderr. +Returns FcFalse if fsome error occurred while loading the file, either a +parse error, semantic error or allocation failure. Otherwise returns FcTrue. +@SINCE@ 2.13.0 +@@ + @RET@ const FcChar8 * @FUNC@ FcConfigGetSysRoot @TYPE1@ const FcConfig * @ARG1@ config |