-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
做了部分注释,在sub_client.c中信息到来回调函数中添加打印,其中lib/mosquitto_broker.h和lib/uthas…
…h.h由于原来 lib/路径下没有而copy过来的,它们都是因为修改sub_client才做的修改,还要注意src/subs.c中的修改,服务端也有相 应的打印,不过暂时还没有分析出其中的头绪
- Loading branch information
zengang
committed
Oct 30, 2014
1 parent
f84c52f
commit 7476581
Showing
19 changed files
with
1,490 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* ============================================================ | ||
* Control compile time options. | ||
* ============================================================ | ||
* | ||
* Compile time options have moved to config.mk. | ||
*/ | ||
|
||
|
||
/* ============================================================ | ||
* Compatibility defines | ||
* | ||
* Generally for Windows native support. | ||
* ============================================================ */ | ||
#ifdef WIN32 | ||
#define snprintf sprintf_s | ||
#define strcasecmp strcmpi | ||
#define strtok_r strtok_s | ||
#define strerror_r(e, b, l) strerror_s(b, l, e) | ||
#endif |
Binary file not shown.
Oops, something went wrong.