File: snmp.h

package info (click to toggle)
ifstat 1.1-8.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 364 kB
  • ctags: 261
  • sloc: ansic: 2,364; sh: 341; makefile: 112
file content (11 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#ifndef SNMP_H
#define SNMP_H

/* snmp backend */
int snmp_open_driver(struct ifstat_driver *driver, char *options);
int snmp_scan_interfaces(struct ifstat_driver *driver,
			 struct ifstat_list *list);
int snmp_get_stats(struct ifstat_driver *driver, struct ifstat_list *ifaces);
void snmp_close_driver(struct ifstat_driver *driver);

#endif