Debian Codegraph @

agent/mibgroup/host/data_access/swinst.h

raw
1 /*
2 * swinst data access header
3 *
4 * $Id: swinst.h 15346 2006-09-26 23:34:50Z rstory $
5 */
6 /*
7 * Copyright (C) 2007 Apple, Inc. All rights reserved.
8 * Use is subject to license terms specified in the COPYING file
9 * distributed with the Net-SNMP package.
10 */
11 #ifndef NETSNMP_ACCESS_SWINST_CONFIG_H
12 #define NETSNMP_ACCESS_SWINST_CONFIG_H
13
14 /*
15 * all platforms use this generic code
16 */
17 config_exclude(host/hr_swinst);
18
19 /*
20 * select the appropriate architecture-specific interface code
21 */
22 #if defined( darwin )
23 config_require(host/data_access/swinst_darwin);
24 #elif defined( HAVE_DPKG_QUERY )
25 config_require(host/data_access/swinst_apt);
26 #elif defined( HAVE_LIBRPM ) && defined( linux )
27 config_require(host/data_access/swinst_rpm);
28 #elif defined( HAVE_PKGLOCS_H ) || defined( hpux9 ) || defined( hpux10 ) || defined( hpux11 ) || defined( freebsd2 ) || defined( linux ) || defined( openbsd )
29 config_require(host/data_access/swinst_pkginfo);
30 #else
31 config_warning(This platform does not yet support hrSWInstalledTable rewrites);
32 config_require(host/data_access/swinst_null);
33 #endif
34
35 void init_swinst( void );
36 void shutdown_swinst( void );
37
38 #endif /* NETSNMP_ACCESS_SWINST_CONFIG_H */