Home
last modified time | relevance | path

Searched refs:ota_doc (Results 1 – 6 of 6) sorted by relevance

/dports/www/kannel/gateway-1.4.4/test/
H A Dtest_ota.c85 Octstr *ota_doc, *ota_binary; in main() local
132 ota_doc = octstr_read_file(argv[optind]); in main()
133 if (ota_doc == NULL) in main()
140 ret = ota_compile(ota_doc, charset, &ota_binary); in main()
162 octstr_destroy(ota_doc); in main()
/dports/www/kannel/gateway-1.4.4/gw/
H A Dota_compiler.c472 int ota_compile(Octstr *ota_doc, Octstr *charset, Octstr **ota_binary) in ota_compile() argument
483 octstr_strip_blanks(ota_doc); in ota_compile()
484 octstr_shrink_blanks(ota_doc); in ota_compile()
485 set_charset(ota_doc, charset); in ota_compile()
486 size = octstr_len(ota_doc); in ota_compile()
487 ota_c_text = octstr_get_cstr(ota_doc); in ota_compile()
H A Dota_compiler.h75 int ota_compile(Octstr *ota_doc, Octstr *charset, Octstr **ota_binary);
H A Dota_prov.c207 int ota_pack_message(Msg **msg, Octstr *ota_doc, Octstr *doc_type, in ota_pack_message() argument
217 if (ota_compile(ota_doc, octstr_imm("UTF-8"), &ota_binary) == -1) in ota_pack_message()
233 octstr_destroy(ota_doc); in ota_pack_message()
242 octstr_destroy(ota_doc); in ota_pack_message()
250 octstr_destroy(ota_doc); in ota_pack_message()
H A Dota_prov.h82 int ota_pack_message(Msg **msg, Octstr *ota_doc, Octstr *doc_type,
H A Dsmsbox.c2768 Octstr *id, *from, *phonenumber, *smsc, *ota_doc, *doc_type, *account; in smsbox_req_sendota() local
2810 if ((ota_doc = http_cgi_variable(list, "text")) != NULL) { in smsbox_req_sendota()
2817 ota_doc = octstr_duplicate(ota_doc); in smsbox_req_sendota()
2831 if ((ret = ota_pack_message(&msg, ota_doc, doc_type, from, in smsbox_req_sendota()
2961 Octstr *type, *charset, *doc_type, *ota_doc, *sec, *pin; in smsbox_sendota_post() local
2969 doc_type = ota_doc = sec = pin = NULL; in smsbox_sendota_post()
3079 ota_doc = octstr_duplicate(body); in smsbox_sendota_post()
3081 if ((r = ota_pack_message(&msg, ota_doc, doc_type, from, to, sec, pin)) < 0) { in smsbox_sendota_post()