From c60ebd422171808ad58b936914055397bb205bef Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Mar 2017 11:59:43 +0000 Subject: Adapt to skalibs-2.5.0.0 --- doc/libs6/accessrules.html | 7 +++---- doc/libs6/ftrigr.html | 10 +++++----- doc/libs6/ftrigw.html | 2 +- doc/libs6/s6lock.html | 6 +++--- doc/libs6/s6lockd-helper.html | 3 ++- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/libs6/accessrules.html b/doc/libs6/accessrules.html index 20d3f2c..4cdca6c 100644 --- a/doc/libs6/accessrules.html +++ b/doc/libs6/accessrules.html @@ -66,7 +66,7 @@ Namely:

-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,

  • s6_accessrules_keycheck_uidgid interprets key as a -diuint, i.e. a -structure containing two unsigned ints. The first one is interpreted as an -uid u, the second one as a gid g. The function first looks +pointer to a structure containing an uid u and a gid g. +The function first looks for a uid/u match; if it cannot find one, it looks for a gid/g match. If it cannot find one either, it checks uid/default and returns the result.
  • diff --git a/doc/libs6/ftrigr.html b/doc/libs6/ftrigr.html index b16081f..889e389 100644 --- a/doc/libs6/ftrigr.html +++ b/doc/libs6/ftrigr.html @@ -44,8 +44,8 @@ simply ignoring pids you don't know.

    - 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!)

    A programming example

    @@ -240,14 +240,14 @@ which something happened.

    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:

    -- cgit v1.3.1