Michael Jerris
252496d12c
add missing header files to the project file.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@88 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:26:15 +00:00
Michael Jerris
1ae656094c
default to 4 trunks max at compile time.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@87 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:26:00 +00:00
Michael Jerris
ca278fa2f1
add functions to initialize a trunk, and a public function to receive from layer 3 that sends an I frame.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@86 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:25:35 +00:00
Anthony Minessale
f969341e86
change linefeeds
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@85 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 23:29:33 +00:00
Anthony Minessale
b3551097c9
update makefile
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@84 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 21:47:30 +00:00
Anthony Minessale
f83966fdd6
dont error on unused function paramaters
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@83 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:45:45 +00:00
Michael Jerris
bf315e8b38
resolve msvc warning C4244
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@82 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:41:41 +00:00
Michael Jerris
2201f355ee
resolve msvc warning C4267
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@81 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:34:49 +00:00
Michael Jerris
0dfe5be1de
fix some type overflow warnings in q921 caused by the math implicitly becoming int.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@80 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:28:13 +00:00
Michael Jerris
0e1333c7d2
empty if body on ie that has not yet been implemented.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@79 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:08:52 +00:00
Michael Jerris
283dd646f1
fix error for unused local variable.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@78 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:04:50 +00:00
Michael Jerris
83db56f73a
use () around & ops to clarify order precedence
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@77 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:54:27 +00:00
Michael Jerris
86710f5d2f
warning levels on nix build prohibits // comments
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@76 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:48:51 +00:00
Michael Jerris
caeb4d4308
builds on windows again.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@75 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:43:20 +00:00
Michael Jerris
8b89bdd9b3
warning levels on nix build prohibits // comments
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@74 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:37:52 +00:00
Michael Jerris
19d39722eb
more warning stuff.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@73 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:34:43 +00:00
Michael Jerris
e02b3354d5
warnings cleanup.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@72 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:23:01 +00:00
Michael Jerris
98b699c8dd
warning levels on nix build prohibits // comments
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@71 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:02:28 +00:00
Michael Jerris
6fc08b3dd9
Q921.c should build now under heavier warning levels.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@70 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:00:38 +00:00
Anthony Minessale
9215cb2586
fixing make...
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@69 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:57:23 +00:00
Michael Jerris
5c09881a14
normalize using unsigned char for buffers instead of mixed signed/unsigned in isdn code.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@68 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:53:58 +00:00
Michael Jerris
db59ea9113
windows build add isdn files
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@67 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:51:13 +00:00
Anthony Minessale
40bd360d89
fixing make...
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@66 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:34:46 +00:00
Michael Jerris
3925468083
checkin q931/q932/q921 code.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@65 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:25:36 +00:00
Michael Jerris
eda2e86f5a
fix comment
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@64 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:52:09 +00:00
Michael Jerris
50de6bdc92
windows build fix
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@63 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:51:57 +00:00
Anthony Minessale
5013baf37a
update
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@62 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:48:13 +00:00
Michael Jerris
e5fb4a3cc0
fix leak on pthread failures.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@61 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 15:38:35 +00:00
Michael Jerris
c38285a05b
typo
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@60 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:47:32 +00:00
Michael Jerris
b1cf76c682
typo
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@59 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:45:52 +00:00
Michael Jerris
6b47b11c88
typo
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@58 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:43:38 +00:00
Michael Jerris
7e5d396bc3
typo
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@57 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:41:36 +00:00
Michael Jerris
8546385c61
add detached thread abstraction.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@56 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:40:06 +00:00
Michael Jerris
ff24de2bb8
initial check in of cross platform thread and mutex abstraction (just recursive mutexes so far).
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@55 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 20:30:31 +00:00
Michael Jerris
16811e4358
tweak types
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@54 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 15:28:49 +00:00
Michael Jerris
da6aefb5cb
tweak types
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@53 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 15:27:29 +00:00
Michael Jerris
4ac6d61adc
add missing header file to sangoma_tdm_api.h.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@52 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 10:35:07 +00:00
Michael Jerris
7a96481d09
implementations for the cross platform read and write in sangoma_tdm_api.h.
...
move zap_wanpipe.c to use the read and write from sangoma_tdm_api.h.
cleanups and lots of comments added to sangoma_tdm_api.h
some fixes to sangoma_tdm_api.h to make the api more consistent between windows and nix.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@51 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 10:30:51 +00:00
Michael Jerris
12a9ba1af0
cleanup
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@50 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 06:26:05 +00:00
Michael Jerris
119b53dbb8
cleanup, eliminate some global variables.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@49 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 05:59:51 +00:00
Michael Jerris
42f8586ab1
need to pass in pointer.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@48 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 05:51:40 +00:00
Michael Jerris
7c68876fc8
missing header file.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@47 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 05:48:46 +00:00
Michael Jerris
20c41323a7
use WP_INVALID_SOCKET for invalid handles.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@46 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 05:47:37 +00:00
Michael Jerris
3685804c98
implement the openzap wanpipe wait function using the cross platform poll from last commit.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@45 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 05:46:09 +00:00
Michael Jerris
631e7e61bb
an attempt to put a cross platform poll into the header file. This is really wrong as we can't differentiate between in band and oob on windows right now.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@44 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 04:56:51 +00:00
Michael Jerris
6671691130
fix on timeout
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@43 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 04:48:56 +00:00
Michael Jerris
3bf6d4d8f3
move wanpipe's close function to the cross platform abstraction.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@42 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 04:14:23 +00:00
Anthony Minessale
110d452c60
interval
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@41 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 01:50:01 +00:00
Michael Jerris
6b55778560
some cross platform cleanup.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@40 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 00:11:11 +00:00
Michael Jerris
72609fa965
little cleanup.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@39 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-19 23:41:02 +00:00