Re: How to do doubly-indexed table

2006-09-21 Thread Dave Shield
On 21/09/06, Toth, Gregory S <[EMAIL PROTECTED]> wrote: > The void **my_loop_context appears to be a way to pass the current > position in the table (possibly an interator) from the > get_first_data_point method to the get_next_data_point method (and to > subsequent get_next_data_point calls) unti

RE: How to do doubly-indexed table

2006-09-21 Thread Toth, Gregory S
and updating it in the get_next_data_point appears to work without even using the **my_loop_context variable. -Original Message- From: Toth, Gregory S Sent: Wednesday, September 20, 2006 3:50 PM Cc: [email protected] Subject: RE: How to do doubly-indexed table

RE: How to do doubly-indexed table

2006-09-20 Thread Toth, Gregory S
hield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 1:31 PM To: Toth, Gregory S Cc: [email protected] Subject: Re: How to do doubly-indexed table On 20/09/06, Toth, Gregory S <[EMAIL PROTECTED]> wrote: > How do I setup the indexes in the "get_f

Re: How to do doubly-indexed table

2006-09-20 Thread Dave Shield
On 20/09/06, Toth, Gregory S <[EMAIL PROTECTED]> wrote: > How do I setup the indexes in the "get_first_data_point" method? Is it > something like this: [snip] Right general idea, but a couple of problems: > snmp_set_var_value(vptr, (u_char *) &this_name , >sizeof(t

How to do doubly-indexed table

2006-09-20 Thread Toth, Gregory S
So now that I got my single indexed (using a string) table working, I am attempting to do a doubly indexed table using a unsigned and a string: netsnmp_table_helper_add_indexes(table_info, ASN_UNSIGNED, /* index: articlePage */ ASN_OCTET_STR, /* inde