agent.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2006 Voop as
00003  * Thorsten Lockert <tholo@voop.as>
00004  *
00005  * This program is free software, distributed under the terms of
00006  * the GNU General Public License Version 2. See the LICENSE file
00007  * at the top of the source tree.
00008  */
00009 
00010 /*! \file
00011  *
00012  * \brief SNMP Agent / SubAgent support for Asterisk
00013  *
00014  * \author Thorsten Lockert <tholo@voop.as>
00015  */
00016 
00017 /*!
00018  * \internal
00019  * \brief Thread running the SNMP Agent or Subagent
00020  * \param Not used -- required by pthread_create
00021  * \return A pointer with return status -- not used
00022  *
00023  * This represent the main thread of the SNMP [sub]agent, and
00024  * will initialize SNMP and loop, processing requests until
00025  * termination is requested by resetting the flag in
00026  * \ref res_snmp_dontStop.
00027  */
00028 void  *agent_thread(void *);
00029 
00030 /*!
00031  * \internal
00032  * Flag saying whether we run as a Subagent or full Agent
00033  */
00034 extern int res_snmp_agentx_subagent;
00035 
00036 /*!
00037  * \internal
00038  * Flag stating the agent thread should not terminate
00039  */
00040 extern int res_snmp_dont_stop;

Generated on Thu Apr 16 06:27:06 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6