Lines Matching defs:mem_ctx
9 TALLOC_CTX *mem_ctx = NULL;
15 mem_ctx = talloc_init("regcreatekey");
43 if(!cac_RegOpenKey(hnd, mem_ctx, &rok)) {
54 rck.in.key_name = talloc_strdup(mem_ctx, key_to_create);
55 rck.in.class_name = talloc_strdup(mem_ctx, "");
58 if(!cac_RegCreateKey(hnd, mem_ctx, &rck)) {
63 if(!cac_RegClose(hnd, mem_ctx, rck.out.key)) {
77 while(cac_RegEnumKeys(hnd, mem_ctx, &ek)) {
98 if(!cac_RegDeleteKey(hnd, mem_ctx, &rdk)) {
104 if(!cac_RegClose(hnd, mem_ctx, rok.out.key)) {
111 talloc_destroy(mem_ctx);