Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Multiprotocol functions #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Multiprotocol functions #2

wants to merge 1 commit into from

Conversation

maht
Copy link

@maht maht commented Jun 17, 2021

Create explicit functions for each PAL protocol

Functions for each protocol are created, so that they can be used even when MQTT_USE_CUSTOM_SOCKET_HANDLE is defined.

The functions and types are mapped to default names in case MQTT_USE_CUSTOM_SOCKET_HANDLE is not used, so maintaining the default functionality.

Functions for each protocol are created, so that they can
be used even when MQTT_USE_CUSTOM_SOCKET_HANDLE is defined.

The functions and types are mapped to default names in case
MQTT_USE_CUSTOM_SOCKET_HANDLE is not used, so maintaining the
default functionality.

Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Co-authored-by: Miguel Herranz <miguel@midokura.com>
@maht maht added the draft label Jun 17, 2021
@maht maht force-pushed the multiprotocol_functions branch from effc0a7 to 783c6d5 Compare June 17, 2021 09:45
@maht
Copy link
Author

maht commented Jun 17, 2021

Refactoring the commits so that we go from effc0a7 to 783c6d5 now: keep it as a single commit and remove the Allow using MQTT_USE_CUSTOM_SOCKET_HANDLE for forward declarations commit as it is no longer needed.

@maht maht removed the draft label Jun 22, 2021
@maht maht requested review from lulingar and yamt June 22, 2021 17:20
@maht
Copy link
Author

maht commented Jun 22, 2021

@yamt @lulingar If no objection on the contrary, we should merge this so that it can be properly used from other repos from master.

@lulingar
Copy link

LGTM, though I think this only spares us this special value for the MQTT-C branch, or does it have any extra effect?

@yamt
Copy link

yamt commented Jun 22, 2021

@maht are you going to update LiamBindle#136 as well?

@maht
Copy link
Author

maht commented Jun 23, 2021

@maht are you going to update LiamBindle#136 as well?

I guess so, eventually, once we have done the release and have some time.

@yamt
Copy link

yamt commented Jun 23, 2021

@maht are you going to update LiamBindle#136 as well?

I guess so, eventually, once we have done the release and have some time.

ok. how about making it a draft until it happens?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants