---
name: "netsnmp_iterator_info_s"
section: "3snmp"
platform: "linux"
package: "libsnmp-dev"
version: "5.4.3~dfsg-2.8+deb7u1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/netsnmp_iterator_info_s"
---

# netsnmp\_iterator\_info\_s(3snmp)

Holds iterator information containing functions which should be called by the iterator\_handler to loop over your data set and sort it in a SNMP specific manner.

## NAME

iterator\_info\_s -

Holds iterator information containing functions which should be called by the iterator\_handler to loop over your data set and sort it in a SNMP specific manner.

## SYNOPSIS

### Data Fields

**netsnmp\_container** **c**\
 Netsnmp\_Iterator\_Loop\_Key \* **get\_first**\
 Netsnmp\_Iterator\_Loop\_Key \* **get\_next**\
 Netsnmp\_Iterator\_Loop\_Data \* **get\_data**\
 Netsnmp\_Iterator\_Data \* **free\_user\_ctx**\
 Netsnmp\_Iterator\_Ctx \* **init\_loop\_ctx**\
 Netsnmp\_Iterator\_Ctx \* **cleanup\_loop\_ctx**\
 Netsnmp\_Iterator\_Ctx\_Dup \* **save\_pos**\
 Netsnmp\_Iterator\_Data \* **release\_data**\
 Netsnmp\_Iterator\_Data \* **insert\_data**\
 Netsnmp\_Iterator\_Data \* **remove\_data**\
 Netsnmp\_Iterator\_Op \* **get\_size**\
 int **sorted**\
 void \* **user\_ctx**\
 *This can be used by client handlers to store any information they need.*

## Detailed Description

Holds iterator information containing functions which should be called by the iterator\_handler to loop over your data set and sort it in a SNMP specific manner.

The iterator\_info typedef can be used instead of directly calling this struct if you would prefer.

Definition at line 39 of file container\_iterator.c.

## Field Documentation

### void\* iterator\_info\_s::user\_ctx

This can be used by client handlers to store any information they need.

Definition at line 69 of file container\_iterator.c.

## Author

Generated automatically by Doxygen for net-snmp from the source code.
