Commit Graph

44 Commits

Author SHA1 Message Date
paulc a68b1553c0 Changed the name of the mutex protecting name resolution to reveal its real usage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2711 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 04:10:36 +00:00
paulc 6dfcdcbd11 Fixed several warnings detected by stricter compilers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2679 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 20:05:02 +00:00
paulc 85da36395b Added names to the Mutex class to ease debugging of deadlocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
marian 045895ebdc Added remove directory method to File.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2608 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-01 14:42:12 +00:00
paulc 73dd0b02f1 Added parameters to make a newly created file public readable or writable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2583 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 13:55:44 +00:00
marian a5c7c43846 Allow a file to be shared when opened read only. Return success when reading past the end of file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2541 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-25 17:35:08 +00:00
paulc bd956e7bf3 Added MemoryStream class that provides basic I/O to an internal DataBlock.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2529 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 20:34:33 +00:00
marian fdf919acbe Added static method to File used to list directory content.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2517 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-06 17:20:09 +00:00
paulc d46d577cbd Moved length() and seek() methods to the Stream class so seekable streams can be implemented.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2513 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 13:10:31 +00:00
marian c80ee5b9ad Changed file truncate conditions (truncate a file only if not opened for read).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2512 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 12:53:01 +00:00
paulc b3fdaf8fcb Truncate a file that is opened writable and non-appending.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2500 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-27 17:15:32 +00:00
marian 31350b4fbe Added File manipulation methods. Added Time conversion methods. Thread last error string can now be obtained from the system.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2416 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:30:05 +00:00
paulc 95e005df49 Operations on an invalid socket cannot be retried.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2311 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-09 23:42:27 +00:00
paulc d9bf89c7d3 Make files written by Yate non-executable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2207 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-17 17:08:27 +00:00
paulc fbd1c99baf Added method to check if a socket handle is valid for select()ing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2057 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-10 17:47:49 +00:00
paulc 97e5b1e5fb Added a maximum wait time for the shared resource of gethostbyname().
git-svn-id: http://yate.null.ro/svn/yate/trunk@1230 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 15:13:07 +00:00
paulc 08403476e8 Added timerTick method in Socket and SocketFilter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1064 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-03 14:24:20 +00:00
paulc 3e6d46d564 Check data validity before passing to packet filters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1060 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-27 09:43:08 +00:00
paulc 14161da7a1 Added a socket packet data filter - preparing for a nice STUN implementation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1058 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-26 18:26:36 +00:00
paulc 0b5e34a34a Added support for socket address reuse and connection lingering.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1032 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-13 21:42:58 +00:00
paulc d9d961cf01 On Windows wave files are opened in binary mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@918 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:02:45 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 934c2cc102 Added missing include for S_IRWXU
git-svn-id: http://yate.null.ro/svn/yate/trunk@795 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-17 15:23:45 +00:00
paulc 8c6951eebb Added help file support in client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@794 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-17 15:14:43 +00:00
paulc 8eb77992e6 Added support for socket shutdown and SCTP association peel-off.
git-svn-id: http://yate.null.ro/svn/yate/trunk@771 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-04 12:24:44 +00:00
paulc ec13d8c086 Fixes in Windows
git-svn-id: http://yate.null.ro/svn/yate/trunk@730 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-30 00:21:37 +00:00
paulc 8ba0ab46b4 Improved the external module - supports connecting on sockets, watching
message answers and option settings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@729 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-29 23:05:36 +00:00
paulc c44947b6a1 Added RADIUS client module.
Applied various related and unrelated changes and fixes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@714 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-22 18:22:34 +00:00
paulc 7bf746e26d Added some needed File and Socket methods. Added answered flag in Channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@631 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-05 21:33:15 +00:00
paulc 8a168f420b Changed the way pipes and socket pairs are built to ease implementation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@623 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-29 19:26:51 +00:00
paulc 9511c61f01 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@471 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-11 00:29:56 +00:00
paulc 14c3a10eeb Added Stream and File classes, fixed a data related bug in extmodule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@470 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-06 19:37:31 +00:00
paulc 1d7c54d6d7 Made FD_SETSIZE configurable on glibc >= 2.2 - thanks, Squid authors!
git-svn-id: http://yate.null.ro/svn/yate/trunk@458 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 04:42:29 +00:00
paulc 9e29ce8476 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@321 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-02 18:31:05 +00:00
paulc b52a90a618 Updated copyright years, fixed %ll formatting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@320 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-29 22:05:07 +00:00
paulc c1e975decd *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@317 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 17:56:56 +00:00
paulc 76dc980fda Removed broken Windows 9x/Me support for IPv6.
git-svn-id: http://yate.null.ro/svn/yate/trunk@316 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 17:52:50 +00:00
paulc 14da393886 Made compile some modules, added socket address class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@315 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 17:40:41 +00:00
paulc 7dc41609cf no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@293 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-13 00:41:33 +00:00
paulc fc87361298 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@290 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-12 12:00:20 +00:00
paulc f0985ab08b no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@289 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-12 11:54:33 +00:00
paulc 5d77d22865 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@285 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-11 00:56:55 +00:00
paulc 9459c52dcd *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@284 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:52:31 +00:00
paulc 8db5c6f0d4 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@283 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:42:49 +00:00