Home | History | Annotate | Download | only in libprop
History log of /src/common/lib/libprop/prop_array_util.c
RevisionDateAuthorComments
 1.10  26-Apr-2025  thorpej Hide the private symbols.
 1.9  03-Aug-2022  riastradh branches: 1.9.8;
proplib: Nix trailing whitespace.
 1.8  14-Jun-2020  christos add/fix linted comments
 1.7  14-Jun-2020  christos Fix incorrect type (found by lint), and add linted comments for the
long long -> long (uintmax_t on LP64)
 1.6  06-Jun-2020  thorpej Improvements to the problib(3) API:

==> Provide a much more complete set of setters and getters for different
value types in the prop_array_util(3) and prop_dictionary_util(3)
functions.

==> Overhaul the prop_data(3), prop_number(3), and prop_string(3) APIs
to be easier to use and less awkwardly named, Deprecate the old
awkward names, and produce link-time warnings when they are referenced.

==> Deprecate mutable prop_data(3) and prop_string(3) objects. The old
APIs that support them still exist, but will now produce link-time
warnings when used.

==> When the new prop_string(3) API is used, strings are internally
de-duplicated as a memory footprint optimization.

==> Provide a rich set of bounds-checked gettter functions in and a
corresponding set of convenience setters in the prop_number(3) API.

==> Add a new prop_bool_value(3) function that is equivalent to
prop_bool_true(3), but aligned with the new "value" routines in
prop_data(3), prop_string(3), and prop_number(3).
 1.5  31-May-2016  pgoyette branches: 1.5.16;
Add prop_array_add_cstring{,_no_copy} utility functions as suggested in
PR lib/46723 using the patch provided. (Header file updates are mine.)
 1.4  27-Jul-2012  pooka Bit-un-rot the proplib portability layer.
 1.3  24-Mar-2011  bouyer branches: 1.3.4;
Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
 1.2  11-Sep-2008  haad Add prop_array_add_int* and prop_array_add_uint* functions. These functions
can be used to append specified type to the end of prop_array_t.

Ok'ed by @joerg.
 1.1  03-Jun-2008  haad branches: 1.1.2; 1.1.4;
Add prop_array_util functions to proplib. This code is copied/changed
prop_dictionary_util.

From manual page

The prop_array_util family of functions are provided to make getting and
setting values in arrays more convenient in some applications.

OK by mjf@ and freza@.
 1.1.4.3  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.1.4.2  23-Jun-2008  wrstuden Add files to branch that were added on -current.

After this, all that's left of update is to merge some changes
that had conflicts.
 1.1.4.1  03-Jun-2008  wrstuden file prop_array_util.c was added on branch wrstuden-revivesa on 2008-06-23 05:01:56 +0000
 1.1.2.2  17-Jun-2008  yamt sync with head.
 1.1.2.1  03-Jun-2008  yamt file prop_array_util.c was added on branch yamt-pf42 on 2008-06-17 09:13:31 +0000
 1.3.4.1  30-Oct-2012  yamt sync with head
 1.5.16.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.5.16.1  21-Apr-2020  martin Sync with HEAD
 1.9.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed