Interface

March 26, 2020 Contributors

Function Interface and Parameters

14.2.1.1. Function Interface for Luafunction mod:smpp_MO_pdu_eval (pdu) 14.2.1.2. Function Interface for C

static int sample_MO_pdu_eval (generic_module_infrastructure
  *gself, SMPP_PDU *pdu)

14.2.1.3. Parameters

SMPP_PDU structure.

Return Values

A non-negative return value is the response command status code. Any non-zero return value causes processing to cease for the current PDU. The special return value of -1 means that SMPP_ESME_OK(0) will be used for the command status code in the SMPP response but also causes processing to cease for the current PDU.

Return Value Response Command Status Code PDU Disposition
0 0 continue
>0 return value drop
-1 0 drop