probe
interface, except that
the indexed version allows multiple probes to be defined with a single
interface. The same index corresponds to the same probe for value
and properties methods. The amount of probes that the interfaces
supports is returned through the num_indices() method, which should
be static.
SIM_INTERFACE(probe_index) { int (*num_indices)(conf_object_t *obj); attr_value_t (*value)(conf_object_t *obj, int idx); attr_value_t (*properties)(conf_object_t *obj, int idx); }; #define PROBE_INDEX_INTERFACE "probe_index"