diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-19 19:36:32 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-19 19:36:32 +0000 |
commit | b693c30a6680dca743ea2a29de9eb2a91de4f992 (patch) | |
tree | 583d35d6037430538541fd788901c505ba9fe267 /include/asterisk/compat.h | |
parent | 9335ace850459f02e49ee1427f6b675d613b7403 (diff) |
move the declaration of struct ast_channel ast_frame and ast_module
to compat.h so it is always available - hopefully this will let
us reduce the number of inclusions of channel.h and frame.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index d918cd707..19ae6e9b1 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -176,4 +176,14 @@ typedef unsigned int u_int32_t; typedef unsigned long long uint64_t; #endif +/*! \brief + * Definition of various structures that many asterisk files need, + * but only because they need to know that the type exists. + * + * We can move them to a different global header if necessary. + */ +struct ast_channel; +struct ast_frame; +struct ast_module; + #endif |