smpp_wrap_in_string

March 26, 2020 Contributors

Name

smpp_wrap_in_string — Wrap a char string into a string object

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| string * **smpp_wrap_in_string** ( | c); |   |

const char * <var class="pdparam">c</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Wrap a char string into a string object.

The returned string object must be freed by calling smpp_free_string_and_buffer.

Parameters

c

The input string.

Return Values

The output string.

Threading

It is legal to call this function in any thread.

See Also

SMPP Functions