FYI: This changeset represents an API change with respect to
changing object names.

* nwam_ncu_set_name() has been removed.  We decided not to
  support this a while back (see 10142); so this is just some
  clean-up that should have happened earlier.

* nwam_*_set_name() for locs, enms, and known_wlans will only
  succeed before the first commit of an object (between create
  and commit).  If attempted after the first commit, or after
  the handle is obtained by a read or walk, the function will
  fail with NWAM_ENTITY_READ_ONLY.

* The ability to set an object name may be tested with one of
  three new functions: nwam_*_can_set_name(), for locs, enms,
  and known_wlans, all of which accept an appropriate handle
  type as their only parameter and return a boolean.

-renee


On Fri, Oct 02, 2009 at 04:02:45PM -0700, Renee.Sommerfeld at sun.com wrote:
> Author: Renee Danson Sommerfeld <Renee.Sommerfeld at Sun.COM>
> Repository: /hg/nwam/nwam1
> Latest revision: daefee3da9970fe4cba50ae1fa87a304dab9e94c
> Total changesets: 1
> Log message:
> 11614 until rename support is fixed, libnwam should restrict when renames are 
> allowed
> 11631 use of str functions in nwam_set_name() is broken
> 
> Files:
>       update: usr/src/cmd/cmd-inet/lib/nwamd/door_if.c
>       update: usr/src/lib/libnwam/common/libnwam.h
>       update: usr/src/lib/libnwam/common/libnwam_backend.c
>       update: usr/src/lib/libnwam/common/libnwam_enm.c
>       update: usr/src/lib/libnwam/common/libnwam_files.c
>       update: usr/src/lib/libnwam/common/libnwam_impl.h
>       update: usr/src/lib/libnwam/common/libnwam_known_wlan.c
>       update: usr/src/lib/libnwam/common/libnwam_loc.c
>       update: usr/src/lib/libnwam/common/libnwam_ncp.c
>       update: usr/src/lib/libnwam/common/libnwam_object.c
>       update: usr/src/lib/libnwam/common/libnwam_priv.h
>       update: usr/src/lib/libnwam/common/libnwam_util.c
>       update: usr/src/lib/libnwam/common/mapfile-vers
> _______________________________________________
> nwam-dev mailing list
> nwam-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/nwam-dev

Reply via email to