summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-28 17:28:06 +0900
committerAkira TAGOH <akira@tagoh.org>2012-04-23 11:26:32 +0900
commit06d6b7c3120cd417af5ff47e9735aed577978354 (patch)
tree77e31078ce2c3c4cd6c738fb886a8bf7a22d442c /doc
parent25ccc3f3d27d8affd45c4b0a8041ef757dbb20dd (diff)
Create CACHEDIR.TAG when fc-cache is run or only when the cache directory is created at the runtime.
Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache directory.
Diffstat (limited to 'doc')
-rw-r--r--doc/fccache.fncs9
-rw-r--r--doc/fcconfig.fncs2
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/fccache.fncs b/doc/fccache.fncs
index 2f5fa47..ca8ffa0 100644
--- a/doc/fccache.fncs
+++ b/doc/fccache.fncs
@@ -75,3 +75,12 @@ FcCacheCopySet.
This tries to clean up the cache directory of <parameter>cache_dir</parameter>.
This returns FcTrue if the operation is successfully complete. otherwise FcFalse.
@@
+
+@RET@ void
+@FUNC@ FcCacheCreateTagFile
+@TYPE1@ const FcConfig * @ARG1@ config
+@PURPOSE@ Create CACHEDIR.TAG at cache directory.
+@DESC@
+This tries to create CACHEDIR.TAG file at the cache directory registered
+to <parameter>config</parameter>.
+@@
diff --git a/doc/fcconfig.fncs b/doc/fcconfig.fncs
index 9b9f66e..10028b4 100644
--- a/doc/fcconfig.fncs
+++ b/doc/fcconfig.fncs
@@ -154,7 +154,7 @@ simply returns NULL to indicate that no per-user file exists.
@RET@ FcStrList *
@FUNC@ FcConfigGetCacheDirs
-@TYPE1@ FcConfig * @ARG1@ config
+@TYPE1@ const FcConfig * @ARG1@ config
@PURPOSE@ return the list of directories searched for cache files
@DESC@
<function>FcConfigGetCacheDirs</function> returns a string list containing