Go to the documentation of this file.
48 if (len <= 0 || !buff) {
54 faceid = tmpnum&0xffff;
143 unsigned int start,
stop;
152 LOG(
llevError,
"send_image_sums: bogus \"requestinfo image_sums\": no range provided.\n");
159 for (cp =
params; *cp !=
'\0'; cp++)
166 || (
stop-start) > 1000
175 for (i = start; i <=
stop; i++) {
179 LOG(
llevError,
"send_image_sums: buffer overflow, rejecting range %d..%d\n", start,
stop);
void facesets_for_each(faceset_op op)
void SockList_AddInt(SockList *sl, uint32_t data)
void SockList_AddString(SockList *sl, const char *data)
face_sets * find_faceset(int id)
void SockList_Reset(SockList *sl)
size_t SockList_Avail(const SockList *sl)
int get_bitmap_checksum()
void SockList_AddShort(SockList *sl, uint16_t data)
static void do_faceset(const face_sets *fs)
void SockList_AddChar(SockList *sl, unsigned char c)
void send_image_info(socket_struct *ns)
const Face * get_face_by_id(uint16_t id)
void SockList_Init(SockList *sl)
struct face_sets * fallback
void esrv_send_face(socket_struct *ns, const Face *face, int nocache)
void SockList_Term(SockList *sl)
void send_image_sums(socket_struct *ns, char *params)
void SockList_AddData(SockList *sl, const void *data, size_t len)
void LOG(LogLevel logLevel, const char *format,...)
int get_face_fallback(int faceset, uint16_t imageno)
void SockList_AddLen8Data(SockList *sl, const void *data, size_t len)
void send_face_cmd(char *buff, int len, socket_struct *ns)
void Send_With_Handling(socket_struct *ns, SockList *sl)
void SockList_AddPrintf(SockList *sl, const char *format,...)