Just as it is described in
http://www.surveyor.com/C.html: void vcap(): capture video frame
int vjpeg(int quality): compress image captured by vcap(). use vsend() to transmit:
int size = vjpeg(int quality);
vsend(size);
returned value is size of jpeg image. input parameter is quality of jpeg image (1-8, 1 = highest quality)
void vsend(int size): send JPEG image that was captured and compressed using vcap() and vjpeg()
int x;
vcap();
x = vjpeg(4);
vsend(x);
Note that this will just send the raw jpeg image, so you need a way to capture it. Also, you have to write the console interface for your picoC program, i.e. the external command that tells your picoC program to capture and send an image. From your question, it isn't clear that you've worked out that part of the requirement.