77 #include <openssl/hmac.h>   124                              "application/x-wap-prov.browser-settings");
   135                              "application/x-wap-prov.browser-bookmarks");
   147         unsigned int mac_len;
   193         warning(0, 
"Unknown MIME type in OTA request, type '%s' is unsupported.", 
   213     (*msg)->sms.sms_type = 
mt_push;
   227     (*msg)->sms.time = time(NULL);
   262     int speed, bearer, calltype, 
connection, security, authent;
   369                          "application/x-wap-prov.browser-settings");
   402     if (ipaddr != NULL) {
   423     if (phonenum != NULL) {
   454     if (passwd != NULL) {
   466     if (calltype != -1) {
   527     msg->sms.time = time(NULL);
   573                          "application/x-wap-prov.browser-bookmarks");
   631     msg->sms.time = time(NULL);
 void info(int err, const char *fmt,...)
 
int ota_compile(Octstr *ota_doc, Octstr *charset, Octstr **ota_binary)
 
#define WBXML_TOK_NAME_CSD_CALLSPEED
 
void octstr_append_from_hex(Octstr *ostr, char *hex)
 
#define WBXML_TOK_NAME_PPP_AUTHSECRET
 
#define WBXML_TOK_TYPE_BOOKMARK
 
void octstr_append(Octstr *ostr1, const Octstr *ostr2)
 
#define WBXML_TOK_NAME_PPP_AUTHNAME
 
#define WBXML_TOK_VALUE_AUTH_PAP
 
#define WBXML_TOK_VALUE_PORT_9200
 
#define WBXML_TOK_NAME_NAME
 
static Octstr * connection
 
void octstr_append_char(Octstr *ostr, int ch)
 
#define cfg_get(grp, varname)
 
#define WBXML_TOK_NAME_BEARER
 
#define WBXML_TOK_VALUE_PORT_9203
 
#define octstr_get_cstr(ostr)
 
void octstr_binary_to_hex(Octstr *ostr, int uppercase)
 
#define WBXML_TOK_TYPE_URL
 
#define WBXML_TOK_END_STR_I
 
Octstr * octstr_imm(const char *cstr)
 
#define WBXML_TOK_VALUE_SPEED_9600
 
#define WBXML_TOK_VALUE_CONN_ANALOGUE
 
#define WBXML_TOK_NAME_CSD_DIALSTRING
 
#define WBXML_TOK_VALUE_CONN_ISDN
 
#define WBXML_TOK_NAME_PROXY
 
#define WBXML_TOK_NAME_URL
 
#define octstr_duplicate(ostr)
 
#define octstr_dump(ostr, level,...)
 
int octstr_case_compare(const Octstr *os1, const Octstr *os2)
 
void warning(int err, const char *fmt,...)
 
void octstr_destroy(Octstr *ostr)
 
#define WBXML_TOK_TYPE_NAME
 
#define octstr_create(cstr)
 
#define WBXML_TOK_NAME_PORT
 
#define WBXML_TOK_TYPE_ADDRESS
 
long octstr_len(const Octstr *ostr)
 
void octstr_append_uintvar(Octstr *ostr, unsigned long value)
 
static int ota_pack_push_headers(Msg **msg, Octstr *mime_type, Octstr *sec, Octstr *pin, Octstr *ota_binary)
 
#define WBXML_TOK_VALUE_PORT_9202
 
void octstr_format_append(Octstr *os, const char *fmt,...)
 
Msg * ota_tokenize_settings(CfgGroup *grp, Octstr *from, Octstr *receiver)
 
#define WBXML_TOK_VALUE_SPEED_14400
 
#define WBXML_TOK_NAME_PPP_AUTHTYPE
 
Msg * ota_tokenize_bookmarks(CfgGroup *grp, Octstr *from, Octstr *receiver)
 
static void ota_pack_udh(Msg **msg, Octstr *doc_type)
 
#define WBXML_TOK_VALUE_AUTH_CHAP
 
#define WBXML_TOK_VALUE_PORT_9201
 
#define octstr_create_from_data(data, len)
 
#define WBXML_TOK_VALUE_GSM_CSD
 
static XMLRPCDocument * msg
 
#define WBXML_TOK_NAME_CSD_CALLTYPE
 
int ota_pack_message(Msg **msg, Octstr *ota_doc, Octstr *doc_type, Octstr *from, Octstr *phone_number, Octstr *sec, Octstr *pin)
 
int octstr_compare(const Octstr *ostr1, const Octstr *ostr2)