Lines Matching refs:hnd
6 CacServerHandle *hnd = NULL;
16 hnd = cac_NewServerHandle(True);
19 fscanf(stdin, "%s", hnd->server);
35 if(!cac_Connect(hnd, NULL)) {
36 fprintf(stderr, "Could not connect to server.\n Error: %s.\n errno: %s\n", nt_errstr(hnd->status), strerror(errno));
37 cac_FreeHandle(hnd);
51 if(!cac_RegOpenKey(hnd, mem_ctx, &rok)) {
52 fprintf(stderr, "Could not open key %s\n Error: %s\n", rok.in.name, nt_errstr(hnd->status));
58 if(!cac_RegClose(hnd, mem_ctx, rok.out.key)) {
59 fprintf(stderr, "Could not close handle %s\n", nt_errstr(hnd->status));
63 cac_FreeHandle(hnd);