laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-netif/+/33327 )
Change subject: stream: Document osmo_stream_cli_create2()
......................................................................
stream: Document osmo_stream_cli_create2()
Change-Id: I0c2f46e02d94c3459e4043a9db7fccd906521dd2
---
M src/stream.c
1 file changed, 16 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/stream.c b/src/stream.c
index b6ef92f..d46bc78 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -616,7 +616,13 @@
.segmentation_cb = NULL,
};
-
+/*! \brief Create an Osmocom stream client
+ * \param[in] ctx talloc context from which to allocate memory
+ * This function allocates a new \ref osmo_stream_cli and initializes
+ * it with default values (5s reconnect timer, TCP protocol)
+ * \param[in] name a description of the stream client. Will be used in logging
+ * \return allocated stream client, or NULL in case of error
+ */
struct osmo_stream_cli *osmo_stream_cli_create2(void *ctx, const char *name)
{
struct osmo_stream_cli *cli;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-netif/+/33327
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I0c2f46e02d94c3459e4043a9db7fccd906521dd2
Gerrit-Change-Number: 33327
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged