smpp_config_fetch_using_connection

March 26, 2020 Contributors

Name

smpp_config_fetch_using_connection — Fetch the specified SMPP configuration option

Synopsis

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

| ec_config_value * **smpp_config_fetch_using_connection** ( | option_slot, |   |
|   | conn); |   |

int <var class="pdparam">option_slot</var>;
smpp_conn * <var class="pdparam">conn</var>;

Description

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

Fetch the specified configuration option value using the smpp_conn.

Parameters

option_slot

The configuration option slot number.

conn

A pointer to the SMPP connection.

Return Values

This function returns an ec_config_value.

Threading

This function should be called in the scheduler thread. Since SMPP does not support multiple event loops, the master scheduler should handle the connection.

See Also

SMPP Functions