2 * Copyright (C) 2006 Voop as
3 * Thorsten Lockert <tholo@voop.as>
5 * This program is free software, distributed under the terms of
6 * the GNU General Public License Version 2. See the LICENSE file
7 * at the top of the source tree.
12 * \brief SNMP Agent / SubAgent support for Asterisk
14 * \author Thorsten Lockert <tholo@voop.as>
19 * \brief Thread running the SNMP Agent or Subagent
20 * \param Not used -- required by pthread_create
21 * \return A pointer with return status -- not used
23 * This represent the main thread of the SNMP [sub]agent, and
24 * will initialize SNMP and loop, processing requests until
25 * termination is requested by resetting the flag in
26 * \ref res_snmp_dontStop.
28 void *agent_thread(void *);
32 * Flag saying whether we run as a Subagent or full Agent
34 extern int res_snmp_agentx_subagent
;
38 * Flag stating the agent thread should not terminate
40 extern int res_snmp_dont_stop
;