Use an ast_flags structure in aji_client and aji_buddy rather than an

integer. Modify calls to various ast_*_flag macros accordingly.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Philippe Sultan
2008-02-12 14:08:58 +00:00
parent 16a14a4cd8
commit f98f90af49
2 changed files with 15 additions and 15 deletions

View File

@@ -126,7 +126,7 @@ struct aji_buddy {
char channel[160];
struct aji_resource *resources;
enum aji_btype btype;
unsigned int flags;
struct ast_flags flags;
};
struct aji_buddy_container {
@@ -167,7 +167,7 @@ struct aji_client {
int timeout;
int message_timeout;
int authorized;
unsigned int flags;
struct ast_flags flags;
int component; /* 0 client, 1 component */
struct aji_buddy_container buddies;
AST_LIST_HEAD(messages,aji_message) messages;