That would be extremely useful to the GUI ... Thanks,
Darren. 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); > > Thanks, > Anurag > > _______________________________________________ > nwam-dev mailing list > nwam-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/nwam-dev
