28 lines
510 B
C
28 lines
510 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "mms_detokenize.h"
|
|
#include "mms_util.h"
|
|
|
|
static int mms_detokenizer_init(char *settings)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static int mms_detokenizer_fini(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static Octstr *mms_detokenize(Octstr * token)
|
|
{
|
|
/* Return the MSISDN matching the token as a new Octstr */
|
|
return octstr_create("+45xxxxxx");
|
|
}
|
|
|
|
/* The function itself. */
|
|
MmsTokenize mms_detokenizefuncs = {
|
|
mms_detokenizer_init,
|
|
mms_detokenize,
|
|
mms_detokenize_fini
|
|
};
|