Skip to main content

Name

smpp_get_string_and_buffer — Create a string object using memory type of memtype_smpp

Synopsis

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

| string * **smpp_get_string_and_buffer** ( | len); |   |

int <var class="pdparam">len</var>;

Description

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

Create a string object using memory type of memtype_smpp. The returned string object must be freed by calling smpp_free_string_and_buffer. Use of this function requires the smpp module.

Parameters

len

The size of the string buffer.

Return Values

This function returns a pointer to the allocated string.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?