pcp
[Top] [All Lists]

__pmDiscoverServicesWithOptions() error codes

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: __pmDiscoverServicesWithOptions() error codes
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon, 15 Sep 2014 14:42:49 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
The following address RHBZ 1139529 and update the pmdiscoverservices(3) man page which had fallen behind.

__pmDiscoverServicesWithOptions was left as a __-prefixed API because we were unsure of the direction it was going. It's additional functionality remains undocumented. Is it appropriate to document it in pmdiscoverservices(3) with some sort of caveat? Or perhaps it's time to remove the __ prefix and make it into a full fledged pmapi API?

Dave

--------------------------------------------------------------------------------------------------------

commit 6d1df67b4373ed356e6a44ef595cd54e051d7483
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Sep 15 14:35:47 2014 -0400

    Update pmdiscoverservices(3) man page.

commit 0abc66f2b4f44eec9975169f42cbf649c9d7c044
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Sep 15 13:55:14 2014 -0400

    RHBZ 1139529 - __pmDiscoverServicesWithOptions(1) error codes.

    Avahi error codes are not useful to the caller of this API.
    -EOPNOTSUPP is the best fit for avahi failures.

<Prev in Thread] Current Thread [Next in Thread>