ok, but I can't imagine how this real work.
First I've to get a pointer to the structure with the jobhandle
1) ji_get_job_info()
Then I've call the method
2)ji_get_next_element()
To fill the structure with data?
I've found this code snipped:
for(rcpt = mi->ji_get_next_element(job, JE_ANY, &structJobInfo);
rcpt != 0 && max_rcpt>0;
rcpt = mi->ji_get_next_element(job, JE_ANY, &structJobInfo), --max_rcpt)
Why I've to loop over the job? This is a little bit mystic for me.. ;o)