Lines Matching defs:ncp_h
335 static nwam_ncp_handle_t ncp_h = NULL;
834 if (ncp_h != NULL) {
836 nwam_ncp_free(ncp_h);
837 ncp_h = NULL;
1117 /* Check ncu_h before ncp_h, ncp_h must be loaded before ncu_h */
1120 else if (ncp_h != NULL)
1342 ret = nwam_ncp_create(newname, 0, &ncp_h);
1348 if (ncp_h == NULL) {
1355 ret = nwam_ncu_create(ncp_h, newname, ncu_type,
1400 ret = nwam_ncp_copy(oldncp_h, newname, &ncp_h);
1408 if (ncp_h == NULL) {
1414 ret = nwam_ncu_read(ncp_h, oldname, ncu_type, 0,
1626 if (ncp_h == NULL) {
1632 ret = nwam_ncu_read(ncp_h, name, ncu_type, 0, &ncu_h);
1662 if ((ret = nwam_ncp_read(name, 0, &ncp_h)) != NWAM_SUCCESS)
1664 (void) object_name_from_handle(NWAM_OBJECT_TYPE_NCP, ncp_h,
1666 ret = nwam_ncp_destroy(ncp_h, 0);
1667 ncp_h = NULL;
1789 ret = nwam_ncu_read(ncp_h, name, ncu_type, 0, &ncu_h);
1885 if (ncp_h == NULL) {
1892 ret = nwam_ncu_read(ncp_h, name, ncu_type, 0, &ncu_h);
1899 ret = nwam_ncp_read(name, 0, &ncp_h);
1903 (NWAM_OBJECT_TYPE_NCP, ncp_h, &realname);
3119 ret = listprop(NWAM_OBJECT_TYPE_NCP, ncp_h,
3131 if (ncp_h == NULL) {
3150 cmd->cmd_argv[0], all_props, ncp_h, ncu_type);
3563 ret = nwam_ncp_get_name(ncp_h, &name);
3589 if (ncp_h == NULL) {
3590 ret = nwam_ncp_read(name, 0, &ncp_h);
3596 ret = export_ncp_callback(ncp_h, of);
3598 nwam_ncp_free(ncp_h);
3599 ncp_h = NULL;
3609 ret = nwam_ncp_walk_ncus(ncp_h, export_ncu_callback, of,
3620 ret = nwam_ncu_read(ncp_h, name,
3629 ret = nwam_ncu_read(ncp_h, name,
3637 ret = nwam_ncu_read(ncp_h, name,