diff options
author | Olle Johansson <oej@edvina.net> | 2006-11-30 20:34:23 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-11-30 20:34:23 +0000 |
commit | 446a06679aa0a1b96bb09d6e16514a12124686af (patch) | |
tree | 0da2f23a955767595459b78b97fd7ca1dee5cd68 /include/asterisk/devicestate.h | |
parent | 1f2f5919b588b06228f78538b78c4666e4aba87e (diff) |
Documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/devicestate.h')
-rw-r--r-- | include/asterisk/devicestate.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h index 97d24c16f..85a1235c9 100644 --- a/include/asterisk/devicestate.h +++ b/include/asterisk/devicestate.h @@ -18,6 +18,8 @@ /*! \file * \brief Device state management + * + * \arg See \ref AstExtState */ #ifndef _ASTERISK_DEVICESTATE_H @@ -26,25 +28,18 @@ #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif - -/*! Device is valid but channel didn't know state */ -#define AST_DEVICE_UNKNOWN 0 -/*! Device is not used */ -#define AST_DEVICE_NOT_INUSE 1 -/*! Device is in use */ -#define AST_DEVICE_INUSE 2 -/*! Device is busy */ -#define AST_DEVICE_BUSY 3 -/*! Device is invalid */ -#define AST_DEVICE_INVALID 4 -/*! Device is unavailable */ -#define AST_DEVICE_UNAVAILABLE 5 -/*! Device is ringing */ -#define AST_DEVICE_RINGING 6 -/*! Device is ringing *and* in use */ -#define AST_DEVICE_RINGINUSE 7 -/*! Device is on hold */ -#define AST_DEVICE_ONHOLD 8 +/*! @name DeviceStates */ +/*! \@{ */ +#define AST_DEVICE_UNKNOWN 0 /*!< Device is valid but channel didn't know state */ +#define AST_DEVICE_NOT_INUSE 1 /*!< Device is not used */ +#define AST_DEVICE_INUSE 2 /*!< Device is in use */ +#define AST_DEVICE_BUSY 3 /*!< Device is busy */ +#define AST_DEVICE_INVALID 4 /*!< Device is invalid */ +#define AST_DEVICE_UNAVAILABLE 5 /*!< Device is unavailable */ +#define AST_DEVICE_RINGING 6 /*!< Device is ringing */ +#define AST_DEVICE_RINGINUSE 7 /*!< Device is ringing *and* in use */ +#define AST_DEVICE_ONHOLD 8 /*!< Device is on hold */ +/*! \@} */ /*! \brief Devicestate watcher call back */ typedef int (*ast_devstate_cb_type)(const char *dev, int state, void *data); |