fix some error in get_user_friends

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix uncompress not set '\0'

在解压gzip的时候多申请1位,并将它赋值为0,用于结束字符串.

Signed-off-by: xiehuc <xiehuc@gmail.com>
add http timeout increment option

使用HTTP_TIMEOUT_INCREMENT能够设置自动增长的超时,有助于保持快速连接的同
时保留超时判定.

清理http.c代码,移除一些明显没有必要的操作
清理curl 设置 http_code 时不直接使用结构体

Signed-off-by: xiehuc <xiehuc@gmail.com>
check msglist running before send

Signed-off-by: xiehuc <xiehuc@gmail.com>
dispatch timeout=0 means a default small timeout delay

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix send message msg_id autoincrement

把msg_id从lc移到了msglist中,并且在发送的时候自动加1.

Signed-off-by: xiehuc <xiehuc@gmail.com>
add lwqq_msg_check_lost

use it when received group/discu message to get whether lost messages!!

Signed-off-by: xiehuc <xiehuc@gmail.com>
add auto increment seq for group message

Signed-off-by: xiehuc <xiehuc@gmail.com>
order msg with msg_id instead of msg_id2

同时修正在检测消息丢失时重复情况不赋值group->last_seq

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq_msg_check_lost add g to speed up

Signed-off-by: xiehuc <xiehuc@gmail.com>
add lwqq.pc.in

Signed-off-by: xiehuc <xiehuc@gmail.com>
introduce LwqqExtension to easily expand function

update two lwdb api to support LwqqEvents
add vp_unlink

Signed-off-by: xiehuc <xiehuc@gmail.com>
add ext_clean events

Signed-off-by: xiehuc <xiehuc@gmail.com>
add DISCU_READ_DB macro

Signed-off-by: xiehuc <xiehuc@gmail.com>
change info_seq to int

Signed-off-by: xiehuc <xiehuc@gmail.com>
update lwdb_userdb_insert_buddy/group_info api

remove get all qqnumber api

Signed-off-by: xiehuc <xiehuc@gmail.com>
generate talk group account with random string

通常而言，讨论组的account需要是不变的，稳定的。从什么途径获取并不重要，
account的失效则是另外一回事，主验证信息是name，还需要一个备用信息来辅助
验证

Signed-off-by: xiehuc <xiehuc@gmail.com>
add readme

Signed-off-by: xiehuc <xiehuc@gmail.com>
update CMakeLists.txt to notify add /usr/local/lib:

Signed-off-by: xiehuc <xiehuc@gmail.com>
add lwqq_msg_check_member_chg

当发现接受消息的info_seq不匹配时,重新加载好友列表,并触发group_member_chg
事件

Signed-off-by: xiehuc <xiehuc@gmail.com>