smpp_find_segmentation_break
Name
smpp_find_segmentation_break — Return a pointer to the break between two message segments within the complete text string
Synopsis
#include "modules/mobility/smpp/smpp_util.h"
| const char * **smpp_find_segmentation_break** (
| dp, | |
| | seg_len, | |
| | data_coding, | |
| | is_gsm)
; | |
const char * <var class="pdparam">dp</var>
;
int <var class="pdparam">seg_len</var>
;
int <var class="pdparam">data_coding</var>
;
int <var class="pdparam">is_gsm</var>
;
Description
**Configuration Change. ** This feature is available starting from Momentum 3.2.
Return a pointer to the break between two message segments within the complete text string.
- dp
-
The buffer holding the whole input text string.
- seg_len
-
The length of each segment.
-
The data coding of the input string:
1
indicates GSM data coding and0
indicates non-GSM data coding.
The location of the start of the next segment.
It is legal to call this function in any thread.