Lines Matching refs:status
38 fprintf(stderr, "Could not connect to server %s. Error: %s\n", hnd->server, nt_errstr(hnd->status));
48 fprintf(stderr, "Could not open SCM. Error: %s\n", nt_errstr(hnd->status));
60 printf("[g] Get service status\n");
81 printf("Could not enumerate services. Error: %s\n", nt_errstr(hnd->status));
103 printf("Could not open service. Error: %s\n", nt_errstr(hnd->status));
120 case 'g': /*get svc status*/
132 printf("Could not get status. Error: %s\n", nt_errstr(hnd->status));
136 print_service_status(gs.out.status);
163 printf("Could not start service. Error: %s\n", nt_errstr(hnd->status));
183 if(CAC_OP_FAILED(hnd->status)) {
184 printf("Error occured: %s\n", nt_errstr(hnd->status));
188 print_service_status(stop.out.status);
193 print_service_status(stop.out.status);
206 printf("Could not get display name. Error: %s\n", nt_errstr(hnd->status));
226 if(CAC_OP_FAILED(hnd->status)) {
227 printf("Error occured: %s\n", nt_errstr(hnd->status));
231 print_service_status(pause.out.status);
236 print_service_status(pause.out.status);
254 if(CAC_OP_FAILED(hnd->status)) {
255 printf("Error occured: %s\n", nt_errstr(hnd->status));
259 print_service_status(res.out.status);
264 print_service_status(res.out.status);
280 printf("Could not get service config. Error: %s\n", nt_errstr(hnd->status));