diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-02-10 00:40:57 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-02-10 00:40:57 +0000 |
commit | 5715b49c30e42da5849034b3254e25519edd5122 (patch) | |
tree | e653620c20f6cc81ee92da1a177d905223e42f59 /include/asterisk/utils.h | |
parent | ac4090fce0d6b8ce9f4188de132fa4a66e3c07b1 (diff) |
Merged revisions 53810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines
Merge team/russell/sla_rewrite
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 714574b19..fbda15757 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -553,5 +553,8 @@ int _ast_vasprintf(char **ret, const char *file, int lineno, const char *func, c */ void ast_enable_packet_fragmentation(int sock); +#define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0])) + #include "asterisk/strings.h" + #endif /* _ASTERISK_UTILS_H */ |