From 0414f4361d8f4575a94ed0484edac9872c6df686 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Wed, 20 Jul 2005 00:34:01 +0000 Subject: add English device state output (bug #4733, with minor mod) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6174 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/devicestate.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/asterisk/devicestate.h') 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 -- cgit v1.2.3