KcsErrDesc errDesc;
status = KcsLoadProfile(&profile, &profileDesc,
KcsLoadAttributesNow);
if (status != KCS_SUCCESS) {
status = KcsGetLastError(&errDesc);
fprintf(stderr,"%s KcsLoadProfile failed error = %s\n",
errDesc.desc);
exit(1);
}
|