Debian Codegraph @

res/snmp/agent.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2006 Voop as
3 * Thorsten Lockert <[email protected]>
4 *
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 */
9
10 /*! \file
11 *
12 * \brief SNMP Agent / SubAgent support for Asterisk
13 *
14 * \author Thorsten Lockert <[email protected]>
15 */
16
17 /*!
18 * \internal
19 * \brief Thread running the SNMP Agent or Subagent
20 * \param arg -- not used
21 * \return A pointer with return status -- not used
22 *
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_dont_stop.
27 */
28 void *agent_thread(void *arg);
29
30 /*!
31 * \internal
32 * Flag saying whether we run as a Subagent or full Agent
33 */
34 extern int res_snmp_agentx_subagent;
35
36 /*!
37 * \internal
38 * Flag stating the agent thread should not terminate
39 */
40 extern int res_snmp_dont_stop;