/* * Mbuni - Open Source MMS Gateway * * Mbuni MSISDN mapper sample * * Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com * * Paul Bagyenda * * This program is free software, distributed under the terms of * the GNU General Public License, with a few exceptions granted (see LICENSE) */ #include #include #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 };