三木社区

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 257|回复: 0

user_report_reply_event_handler

[复制链接]

1657

主题

1684

帖子

5684

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5684
发表于 2019-6-17 15:56:44 | 显示全部楼层 |阅读模式
应答用户报告事件处理程序:
  1. static int user_report_reply_event_handler(const int devid, const int msgid, const int code, const char *reply,
  2.         const int reply_len)
  3. {
  4.     const char *reply_value = (reply == NULL) ? ("NULL") : (reply);
  5.     const int reply_value_len = (reply_len == 0) ? (strlen("NULL")) : (reply_len);

  6.     EXAMPLE_TRACE("Message Post Reply Received, Devid: %d, Message ID: %d, Code: %d, Reply: %.*s", devid, msgid, code,
  7.                   reply_value_len,
  8.                   reply_value);
  9.     return 0;
  10. }

复制代码



回复

使用道具 举报

Archiver|手机版|小黑屋|三木电子社区 ( 辽ICP备11000133号-4 )

辽公网安备 21021702000620号

GMT+8, 2024-3-29 00:28 , Processed in 0.051830 second(s), 23 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表