diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-20 00:34:01 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-20 00:34:01 +0000 |
commit | 1c30af0622cf32830599829d2256958c06e223be (patch) | |
tree | 748d42b0ec03f34e817bd1c0b5512fc125b56d32 /include | |
parent | 3db82d8597d9429d3f7b63431f707c72a37dcc9b (diff) |
add English device state output (bug #4733, with minor mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/devicestate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h index a2dd6fd1f..771f33b51 100755 --- a/include/asterisk/devicestate.h +++ b/include/asterisk/devicestate.h @@ -33,6 +33,10 @@ extern "C" { typedef int (*ast_devstate_cb_type)(const char *dev, int state, void *data); +/*! Convert device state to text string for output */ +/*! \param devstate Current device state */ +const char *devstate2str(int devstate); + /*! Search the Channels by Name */ /*! * \param device like a dialstring |