Asterisk - The Open Source Telephony Project GIT-master-f36a736
agent.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006 Voop as
3 * Thorsten Lockert <tholo@voop.as>
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 <tholo@voop.as>
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 */
28void *agent_thread(void *arg);
29
30/*!
31 * \internal
32 * Flag saying whether we run as a Subagent or full Agent
33 */
35
36/*!
37 * \internal
38 * Flag stating the agent thread should not terminate
39 */
40extern int res_snmp_dont_stop;
int res_snmp_dont_stop
Definition: res_snmp.c:44
void * agent_thread(void *arg)
Definition: agent.c:186
int res_snmp_agentx_subagent
Definition: res_snmp.c:43