Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 14:35:21 -0500
From:      Phil Shafer <phil@juniper.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: [Patch] updated: Add JSON and XML output to pciconf (libxo support - D1206)
Message-ID:  <201412101935.sBAJZL5I076079@idle.juniper.net>
In-Reply-To: <20141209164516.GB97072@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov writes:
>If it is required that the name be identical, it makes more sense
>to require some handle to be passed to functions instead of the string.
>I.e. either there should be some atom-like calls which convert string
>to identifier, or first call should return handle passed to consequent
>calls.

The library supports "do the right thing" mode, where it records
the open tag value and doesn't need the user to provide it:

http://juniper.github.io/libxo/libxo-manual.html#dtrt-mode

I could enable this by default and use it when NULL is passed for
an instance name.

Thanks,
 Phil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412101935.sBAJZL5I076079>