Anurag Maskey wrote:
> The currently active location is stored in the location/active property 
> in the network/location SMF service.  How/where are the currently active 
> NCP and ENMs stored?  nwamadm displays this information (and it would 
> nice to have nwamcfg also display this).
>
> Also, I'd like to add the following functions in libnwam, which returns 
> the currently active NCP, LOC or ENMs (nwamcfg, nwamadm, and gui can use 
> these).
>
>     nwam_error_t nwam_ncp_currently_active(char **active_ncp);
>     nwam_error_t nwam_loc_currently_active(char **active_loc);
>     nwam_error_t nwam_enm_currently_active(char ***active_enms);
>
> And/or the following that returns whether the given profile is active or 
> not.
>
>     nwam_error_t nwam_ncp_is_active(const char *ncp, boolean_t *active);
>     nwam_error_t nwam_loc_is_active(const char *loc, boolean_t *active);
>     nwam_error_t nwam_enm_is_active(const char *enm, boolean_t *active);
>
>   
hmm, I definitely agree that those interfaces
are useful, but I had thought that the idea
would be to get info about active state
from nwamd via door calls (send_msg_to_nwam())?
I think we discussed this briefly but didn't
elaborate enough on the details of the
doors interactions between the library
and nwamd.

Alan

Reply via email to