Commit Graph

23 Commits

Author SHA1 Message Date
Harald Welte 241880bc87 Properly set ISM state 'sent' while gathering components for new message
This is done by the new tcap_cha_req_components() function.  Also,
we now have a tcap_ism_state_set() function for debugging ISM state
changes
2010-07-20 10:06:49 +02:00
Harald Welte 2e7a6f8cdd fix some more memory leaks and make sure we always allocate dynamically 2010-07-20 00:17:03 +02:00
Harald Welte e7c849d4f0 implement TC-U-CANCEL.req 2010-07-19 19:54:16 +02:00
Harald Welte fead1fffd4 implement TC-U-REJECT.req 2010-07-19 19:46:11 +02:00
Harald Welte d5c4b8ef20 Implement TC-U-ERROR.req primitive 2010-07-19 19:21:16 +02:00
Harald Welte 57058f3600 Don't use stack-based libasn1c objects for component primitives
In order for the recursive free-ing of libasn1c data structures to
work, we cannot have some of them stack-allocated.
2010-07-19 18:33:53 +02:00
Harald Welte a7c47009c9 Make TC-user signalling of TC-RESULT-{L,NL} work 2010-07-19 16:29:51 +02:00
Harald Welte a764e40c80 bring libosm-tcap more in line with libasn1c's use of talloc
libasn1c expects all data structures to be heap-allocated, whereas
we used to allocate some of them on the stack, which causes problems
at free() time.

As a side-effect, we had to remove the 'struct tcap_component' and
replace its list_head in tcap_dialogue with a 'struct ComponentPortion'
2010-07-19 15:09:23 +02:00
Harald Welte c671dff577 'struct tcap_component' is allocated off the dialogue, not the invocation 2010-07-18 23:38:50 +02:00
Harald Welte b618623844 Add AGPLv3 headers and copyright statements to all files 2010-07-18 17:17:17 +02:00
Harald Welte b37ec74502 fix compiler warnings 2010-07-18 10:12:32 +02:00
Harald Welte aa3011d53e L/R-REJECT primitives are component primitives and thus have invocation as argument 2010-07-17 20:32:50 +02:00
Harald Welte 0b555a70c7 Move from one component per invocation to a per-dialogue component list 2010-07-17 13:05:56 +02:00
Harald Welte b37f3921b5 use ANY_fromBuf() instead of manual assignment 2010-07-16 21:51:19 +02:00
Harald Welte bcc4bba87a [CCO] Properly copy any user parameters that are passed in INVOKE/RESULT.req 2010-07-16 18:04:39 +02:00
Harald Welte 045ffd3c50 Properly allocate Transaction and Dialogue ID 2010-07-16 17:43:31 +02:00
Harald Welte 945c8285ca first version that actually compiles + links
but still isn't expected to do anything useful just yet
2010-07-16 15:28:13 +02:00
Harald Welte cf3c033578 bring it even closer to ever compiling at some time... 2010-07-14 23:59:31 +02:00
Harald Welte 1c621f2608 bring source code a bit closer to compile 2010-07-14 20:47:34 +02:00
Harald Welte e00f62a3a1 some more tcap progress, mostly on the TC-USER API side 2010-07-13 11:29:19 +02:00
Harald Welte a1d37b0441 further work towards a working TCAP implementation
Slowly the skeleton is filling with flesh...
2010-07-12 01:26:45 +02:00
Harald Welte 4e89f71c95 partial implementation of TC-INVOKE.req and TC-RESULT-[N]L.req 2010-07-10 18:11:28 +02:00
Harald Welte 39c8fc18ff initial early draft version of TCAP / Q.77x implementation
this is far from even compiling, not even talk about working
2010-07-10 09:54:33 +02:00