From c60ebd422171808ad58b936914055397bb205bef Mon Sep 17 00:00:00 2001
From: Laurent Bercot
-s6_accessrules_result_t f (char const *key, unsigned int keylen, void *handle, s6_accessrules_params_t *params)
+s6_accessrules_result_t f (char const *key, size_t keylen, void *handle, s6_accessrules_params_t *params)
@@ -123,9 +123,8 @@ is not S6_ACCESSRULES_NOTFOUND. If no match can be found in the whole list,
- If your (badly programmed) application has trouble handling unknown -children, consider using a ftrigrd service. + If your application has trouble handling unknown +children, consider using a ftrigrd service. (And fix your application!)
When ftrigr_update returns, -genalloc_s(uint16, &a->list) points to an array of -genalloc_len(uint16, &a->list) 16-bit unsigned +genalloc_s(uint16_t, &a->list) points to an array of +genalloc_len(uint16_t, &a->list) 16-bit unsigned integers. Those integers are ids waiting to be passed to ftrigr_check.
-int ftrigr_check (ftrigr_t *a, uint16 id, char *what) +int ftrigr_check (ftrigr_t *a, uint16_t id, char *what)
diff --git a/doc/libs6/ftrigw.html b/doc/libs6/ftrigw.html index d494d72..1089ed7 100644 --- a/doc/libs6/ftrigw.html +++ b/doc/libs6/ftrigw.html @@ -41,7 +41,7 @@ exact function prototypes.
char const *path = "/var/lib/myservice/fifodir" ; -int gid = -1 ; +gid_t gid = -1 ; int forceperms = 0 ; int r = ftrigw_fifodir_make(path, gid, forceperms) ;diff --git a/doc/libs6/s6lock.html b/doc/libs6/s6lock.html index cffe3f8..268b4c0 100644 --- a/doc/libs6/s6lock.html +++ b/doc/libs6/s6lock.html @@ -193,14 +193,14 @@ which something happened.
When s6lock_update returns, -genalloc_s(uint16, &a->list) points to an array of -genalloc_len(uint16, &a->list) 16-bit unsigned +genalloc_s(uint16_t, &a->list) points to an array of +genalloc_len(uint16_t, &a->list) 16-bit unsigned integers. Those integers are ids waiting to be passed to s6lock_check.
-int s6lock_check (s6lock_t *a, uint16 id, char *what) +int s6lock_check (s6lock_t *a, uint16_t id, char *what)
diff --git a/doc/libs6/s6lockd-helper.html b/doc/libs6/s6lockd-helper.html index 281c7e8..7a7d80a 100644 --- a/doc/libs6/s6lockd-helper.html +++ b/doc/libs6/s6lockd-helper.html @@ -43,7 +43,8 @@ threads) to implement timed lock acquisition. This can lead to a lot of s6lockd-helper processes, but this is not a problem: