paulc
1ae0546b45
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
paulc
fa0269ba4f
New YSTRING macro that creates an ad-hoc static const String to speed up comparations and conversions from literal strings.
...
On unsupported compilers the literal string is returned unchanged.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc
84f04adaa9
Decode MIME type message/sipfrag as lines of text.
...
Allow generic processing of SIP INFO messages that are not used for DTMFs.
Properly add lines of text bodies to generic SIP messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4273 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:16:12 +00:00
paulc
75b0506d0f
Only unfold non-empty MIME header lines, an empty one indicates end of headers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3802 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 10:34:45 +00:00
paulc
a15cca0316
Allow MimeMultipartBody::getObject to descend into parts looking for the type.
...
Create a MimeStringBody for XML based types.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2889 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 13:35:05 +00:00
paulc
11e9fe6e76
Added a method to retrieve a desired body type from a possibly multipart MIME body.
...
Fixed spelling of "retrieve" in several places.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2801 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-23 19:48:17 +00:00
paulc
99e02ed75a
Do not report a warning if there are 16 NULs or less at the end of a MIME body, assume it's some sort of padding.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2710 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:19:00 +00:00
paulc
9d403bce44
Better handling of quoted strings, added parameter to force quoting.
...
Added convenience method to retrieve an unquoted string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2361 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 13:42:06 +00:00
marian
e081990067
Trim all blanks from boundary before using it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1627 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:12:11 +00:00
marian
5c670eeee4
Added flag to know when a multipart last boundary was found.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1622 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 10:00:39 +00:00
marian
d6d9ceda8f
Fixed bugs in build and parse multipart bodies.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1621 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 09:50:19 +00:00
marian
aebce4e29d
Added mime multipart class. Removed useless mime isup class.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1618 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:22:03 +00:00
marian
1465c1129c
Added methods to find additional headers and set/get header parameters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1610 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 13:17:59 +00:00
marian
2b08ca20c5
Added MIME for application/isup class.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1609 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 12:40:22 +00:00
marian
47f897a49d
Added MIME body constructors from a header line. Adjusted SIP message parser to handle this.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1607 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 11:32:35 +00:00
marian
dabd23216d
Moved header classes and some utilities from SIP to MIME. Updated SIP module and library to reflect the changes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1599 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:29:12 +00:00
paulc
05d646e887
Added MIME related classes in engine.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1410 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 23:45:33 +00:00