#include <string.h>#include "binarytermsender.h"#include "binarytermtypes.h"#include "glibtojava.h"#include "libicl_private.h"#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>#include <stdlib.h>#include <stdio.h>Go to the source code of this file.
Data Structures | |
| struct | BinaryTermSenderStruct |
| struct | TermRecordStruct |
Typedefs | |
| typedef TermRecordStruct | TermRecord |
Functions | |
| void | binaryTermSender_sendTerm (TermSender *ts, ICLTerm *inputTerm) |
| void | binaryTermSender_cleanup (TermSender *ts) |
| BinaryTermSender * | binaryTermSender_create (TermSender *t, gint sendSocket) |
Definition in file binarytermsender.c.
| typedef struct TermRecordStruct TermRecord |
| void binaryTermSender_cleanup | ( | TermSender * | ts | ) |
Definition at line 231 of file binarytermsender.c.
| BinaryTermSender* binaryTermSender_create | ( | TermSender * | t, | |
| gint | sendSocket | |||
| ) |
Definition at line 63 of file binarytermsender.c.
| void binaryTermSender_sendTerm | ( | TermSender * | ts, | |
| ICLTerm * | toSend | |||
| ) |
The proper way to do things is to send chunks of data at a time--that way, we don't have to have everything in memory. So first, you'd validate the term, to make sure you could send it, then you actually send it. Any errors would then be fatal. As it stands, errors cause terms not to be sent at all.
Definition at line 78 of file binarytermsender.c.