66 LOG(
llevDebug,
"set_face_mode_cmd: Invalid mode from client: %d\n", mode);
81 long tmpnum = atoi(buff);
82 short facenum = tmpnum&0xffff;
101 LOG(
llevError,
"esrv_send_face (%d) out of bounds??\n", face_num);
108 if (
facesets[fallback].faces[face_num].data == NULL) {
109 LOG(
llevError,
"esrv_send_face: faces[%d].data == NULL\n", face_num);
173 start = atoi(params);
174 for (cp = params; *cp !=
'\0'; cp++)
181 || (stop-start) > 1000
190 for (i = start; i <= stop; i++) {
194 LOG(
llevError,
"send_image_sums: buffer overflow, rejecting range %d..%d\n", start, stop);
void SockList_AddPrintf(SockList *sl, const char *format,...)
void SockList_Reset(SockList *sl)
void SockList_Init(SockList *sl)
void set_face_mode_cmd(char *buf, int len, socket_struct *ns)
void SockList_AddShort(SockList *sl, uint16 data)
void SockList_AddData(SockList *sl, const void *data, size_t len)
void SockList_Term(SockList *sl)
void SockList_AddString(SockList *sl, const char *data)
size_t SockList_Avail(const SockList *sl)
void SockList_AddChar(SockList *sl, char c)
void send_image_info(socket_struct *ns, char *params)
void send_image_sums(socket_struct *ns, char *params)
face_sets facesets[MAX_FACE_SETS]
EXTERN int bmaps_checksum
void SockList_AddLen8Data(SockList *sl, const void *data, size_t len)
void esrv_send_face(socket_struct *ns, short face_num, int nocache)
void LOG(LogLevel logLevel, const char *format,...)
int get_face_fallback(int faceset, int imageno)
void SockList_AddInt(SockList *sl, uint32 data)
void send_face_cmd(char *buff, int len, socket_struct *ns)
void Send_With_Handling(socket_struct *ns, SockList *sl)