Commands functions

Name

Commands Functions -- functions for sending/receiving/waiting commands between instances of the libtiffep and the server.

Synopsis

#include <tiffep.h> (commands.h)


Types

;


DLLEXPORTed functions

gint         cmd_send_ack                   (Shm s);
gint         cmd_send_nak                   (Shm s);
gint         cmd_send_ok                    (Shm s);
gint         cmd_send_nok                   (Shm s);
gint         cmd_send_exec                  (Shm s);

gint         cmd_check                      (Shm s);

gint         cmd_recv_ack                   (Shm s);
gint         cmd_recv_nak                   (Shm s);
gint         cmd_recv_ok                    (Shm s);
gint         cmd_recv_nok                   (Shm s);
gint         cmd_recv_string                (Shm s);

Description

These functions provides an simplified use of sockets. To do...

Details

cmd_send_ack ()

gint         cmd_send_ack                   (Shm s);

Send an acknowledgement command.

 
s : the shm descriptor
Returns : 0 if success, an error code otherwise