summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-15 21:51:38 +0000
committerMark Spencer <markster@digium.com>2005-01-15 21:51:38 +0000
commit96503a02c165eb39956234c43bcb274b65977541 (patch)
treedd6a81383376b62800c69ebf1e2db5bd1dae311b /include/asterisk
parenta0e6229adb2549685c6a00872c0be83b8ab45ec8 (diff)
Make groups be 64-bits (bug #3351, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h7
-rwxr-xr-xinclude/asterisk/utils.h3
-rwxr-xr-xinclude/asterisk/vmodem.h2
3 files changed, 7 insertions, 5 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 4d24150db..ddff8a390 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -46,6 +46,8 @@ extern "C" {
#define AST_MAX_FDS 8
+typedef unsigned long long ast_group_t;
+
struct ast_generator {
void *(*alloc)(struct ast_channel *chan, void *params);
void (*release)(struct ast_channel *chan, void *data);
@@ -887,7 +889,10 @@ static inline int ast_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds,
ast_set_flag(c, AST_FLAG_BLOCKING); \
} }
-extern unsigned int ast_get_group(char *s);
+extern ast_group_t ast_get_group(char *s);
+/* print call- and pickup groups into buffer */
+extern char *ast_print_group(char *buf, int buflen, ast_group_t group);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index ff0c2cb7e..dd1141985 100755
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -153,6 +153,3 @@ extern int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*s
extern char *ast_strcasestr(const char *, const char *);
#endif
-
-/* print call- and pickup groups into buffer */
-char *ast_print_group(char *buf, int buflen, unsigned int group);
diff --git a/include/asterisk/vmodem.h b/include/asterisk/vmodem.h
index c4f271d33..61e031113 100755
--- a/include/asterisk/vmodem.h
+++ b/include/asterisk/vmodem.h
@@ -116,7 +116,7 @@ struct ast_modem_pvt {
/*! Multiple Subscriber Number we accept for outgoing calls (; seperated list) */
char outgoingmsn[AST_MAX_EXTENSION];
/*! Group(s) we belong to if available */
- unsigned int group;
+ ast_group_t group;
/*! Caller ID if available */
char cid_name[AST_MAX_EXTENSION];
/*! Caller ID if available */