forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mqtt_websockets under aclk/ (netdata#16804)
* Move mqtt_websockets under aclk/ * Use relative paths for includes from mqtt_websockets ...in order to reduce the number of header search paths that we use when building the agent. Ideally, we'd make each component a standalone library target from CMake's perspective but more work needs to be done before we are able to do this. * Remove unused files. * Make licensing information consistent across all files. * Flatten the hierarchy of source files.
- Loading branch information
1 parent
83d1250
commit dedc5be
Showing
56 changed files
with
80 additions
and
3,000 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
File renamed without changes.
File renamed without changes.
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,7 @@ | ||
# mqtt_websockets | ||
|
||
Library to connect MQTT client over Websockets Secure (WSS). | ||
|
||
## License | ||
|
||
The Project is released under GPL v3 license. See [License](LICENSE) |
14 changes: 4 additions & 10 deletions
14
mqtt_websockets/c-rbuf/src/ringbuffer.c → aclk/mqtt_websockets/c-rbuf/cringbuffer.c
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
12 changes: 3 additions & 9 deletions
12
mqtt_websockets/c-rbuf/include/ringbuffer.h → aclk/mqtt_websockets/c-rbuf/cringbuffer.h
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
12 changes: 3 additions & 9 deletions
12
...bsockets/c-rbuf/src/ringbuffer_internal.h → ..._websockets/c-rbuf/cringbuffer_internal.h
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
8 changes: 1 addition & 7 deletions
8
...websockets/c-rbuf/tests/ringbuffer_test.c → .../mqtt_websockets/c-rbuf/ringbuffer_test.c
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
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
2 changes: 2 additions & 0 deletions
2
mqtt_websockets/c_rhash/include/c_rhash.h → aclk/mqtt_websockets/c_rhash/c_rhash.h
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
2 changes: 2 additions & 0 deletions
2
...websockets/c_rhash/src/c_rhash_internal.h → ...qtt_websockets/c_rhash/c_rhash_internal.h
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// Copyright: SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#include "c_rhash.h" | ||
|
||
struct bin_item { | ||
|
2 changes: 2 additions & 0 deletions
2
mqtt_websockets/c_rhash/src/tests.c → aclk/mqtt_websockets/c_rhash/tests.c
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// Copyright: SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
|
10 changes: 0 additions & 10 deletions
10
..._websockets/src/include/common_internal.h → aclk/mqtt_websockets/common_internal.h
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
2 changes: 2 additions & 0 deletions
2
mqtt_websockets/src/common_public.c → aclk/mqtt_websockets/common_public.c
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
File renamed without changes.
10 changes: 0 additions & 10 deletions
10
mqtt_websockets/src/include/endian_compat.h → aclk/mqtt_websockets/endian_compat.h
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
2 changes: 2 additions & 0 deletions
2
mqtt_websockets/src/include/mqtt_constants.h → aclk/mqtt_websockets/mqtt_constants.h
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// Copyright: SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#ifndef MQTT_CONSTANTS_H | ||
#define MQTT_CONSTANTS_H | ||
|
||
|
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
4 changes: 3 additions & 1 deletion
4
mqtt_websockets/src/include/mqtt_ng.h → aclk/mqtt_websockets/mqtt_ng.h
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
13 changes: 2 additions & 11 deletions
13
mqtt_websockets/src/mqtt_wss_client.c → aclk/mqtt_websockets/mqtt_wss_client.c
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
12 changes: 1 addition & 11 deletions
12
..._websockets/src/include/mqtt_wss_client.h → aclk/mqtt_websockets/mqtt_wss_client.h
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
5 changes: 4 additions & 1 deletion
5
mqtt_websockets/src/mqtt_wss_log.c → aclk/mqtt_websockets/mqtt_wss_log.c
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
2 changes: 2 additions & 0 deletions
2
mqtt_websockets/src/include/mqtt_wss_log.h → aclk/mqtt_websockets/mqtt_wss_log.h
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// Copyright: SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#ifndef MQTT_WSS_LOG_H | ||
#define MQTT_WSS_LOG_H | ||
|
||
|
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
File renamed without changes.
14 changes: 2 additions & 12 deletions
14
mqtt_websockets/src/include/ws_client.h → aclk/mqtt_websockets/ws_client.h
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
Oops, something went wrong.