Lines Matching refs:ncphp
195 nwam_ncp_create(const char *name, uint64_t flags, nwam_ncp_handle_t *ncphp) in nwam_ncp_create() argument
200 if ((err = nwam_handle_create(NWAM_OBJECT_TYPE_NCP, name, ncphp)) in nwam_ncp_create()
207 nwam_free(*ncphp); in nwam_ncp_create()
208 *ncphp = NULL; in nwam_ncp_create()
212 if ((err = nwam_commit(ncpfile, *ncphp, flags)) != NWAM_SUCCESS) { in nwam_ncp_create()
213 nwam_free(*ncphp); in nwam_ncp_create()
214 *ncphp = NULL; in nwam_ncp_create()
259 nwam_ncp_read(const char *name, uint64_t flags, nwam_ncp_handle_t *ncphp) in nwam_ncp_read() argument
264 assert(name != NULL && ncphp != NULL); in nwam_ncp_read()
268 *ncphp = NULL; in nwam_ncp_read()
272 err = nwam_read(NWAM_OBJECT_TYPE_NCP, filename, name, flags, ncphp); in nwam_ncp_read()
1143 nwam_ncu_get_ncp(nwam_ncu_handle_t ncuh, nwam_ncp_handle_t *ncphp) in nwam_ncu_get_ncp() argument
1150 (err = nwam_handle_create(NWAM_OBJECT_TYPE_NCP, parentname, ncphp)) in nwam_ncu_get_ncp()