summaryrefslogtreecommitdiff
path: root/main/loader.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-07-19 23:24:27 +0000
committerSteve Murphy <murf@digium.com>2007-07-19 23:24:27 +0000
commit0e969271ae14e976b873327bd721eba24947545a (patch)
treeb7dc4ff6bdbb84391b8b226995daa5bb8fbde8b9 /main/loader.c
parent7756ba661904d1147e42ce884d3ebb2f128233b5 (diff)
After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/loader.c')
-rw-r--r--main/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/loader.c b/main/loader.c
index 1100a460f..2e6457285 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -86,8 +86,8 @@ struct ast_module {
int usecount; /* the number of 'users' currently in this module */
struct module_user_list users; /* the list of users in the module */
struct {
- uint64_t running:1;
- uint64_t declined:1;
+ unsigned int running:1;
+ unsigned int declined:1;
} flags;
AST_LIST_ENTRY(ast_module) entry;
char resource[0];