change the required dependency for codec_dahdi to only be satisfied by DAHDI and...
[asterisk-bristuff.git] / res / snmp / agent.h
blob21389d6c94441e6cfa40b338379ee3f4b9641785
1 /*
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.
8 */
10 /*! \file
12 * \brief SNMP Agent / SubAgent support for Asterisk
14 * \author Thorsten Lockert <tholo@voop.as>
17 /*!
18 * \internal
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 *);
30 /*!
31 * \internal
32 * Flag saying whether we run as a Subagent or full Agent
34 extern int res_snmp_agentx_subagent;
36 /*!
37 * \internal
38 * Flag stating the agent thread should not terminate
40 extern int res_snmp_dont_stop;