Virtuozzo Virtualization SDK C API Reference
Returns the job operation code.
A job operation code can be used to identify the function that started the corresponding operation and to determine the type of the result the job object contains. Use this function in an event handler (callback function) when examining a received job object. For example, the operation code PJOC_SRV_LOGIN means that this job belongs to login operation (PrlSrv_Login, PrlSrv_LoginLocal); the PJOC_SRV_GET_VM_LIST code means that the job was started by the PrlSrv_GetVmList function call and contains a list of virtual machines, etc.