Stefan Knoblich
f384e247fc
FreeTDM: Add gcc printf()-style format string checks to ftdm_log(), also add FTDM_(U)INT64_FMT and FTDM_TIME_FMT constants.
...
The format string checks already caught a couple crash-worthy bugs and this
commit fixes a couple more.
Also includes __ftdm_check_scanf(), for completeness (currently unused).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 22:44:08 +02:00
Stefan Knoblich
674dc9850b
[FreeTDM] Another round of ftdm_log() format string fixes.
...
Use FTDM_SIZE_FMT where needed, don't treat ftdm_event_t as an int
(even if the e_type enum is the first member), datalen vs. *datalen fix
and other warnings.
All reported by __check_printf() (GCC + __attribute__((format(printf,x,y))) ).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-10 13:29:49 +01:00
Moises Silva
4a6b4e86f1
freetdm: add non-locking answer function to handle answer indication
...
export ftdm_current_time_in_ms to users
update testr2 to test non-blocking API (no waiting on indications)
2011-01-04 09:30:49 -05:00
Moises Silva
a744214a3a
freetdm: check protocol status after configuring the signaling
2010-04-28 18:17:52 -04:00
Moises Silva
73a80ba939
start API cleanup by moving private headers and data structures into private/ include directory
2010-04-28 18:17:49 -04:00
Moises Silva
a8ddece1b6
more freetdm changes
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:35:11 +00:00
Moises Silva
1b47133795
more naming changes
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@971 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:56:54 +00:00
Moises Silva
900f1ed2ef
Linux renaming from openzap to freetdm
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00
Brian West
e2004e2d34
fix vim format line
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@833 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-14 22:06:20 +00:00
Moises Silva
f7cd254439
added initial OpenR2 support
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@808 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 21:47:56 +00:00