Re: Help me understand this code snipet please

2007-06-01 Thread Need Help
Thanks for the information . Hey, I believe you might be the "Robert" who "David" was referring to who might be able to help answer some questions regarding the "mfd" configuration. David has helped me out quite a bit, but perhaps you might have a look at my post to see if you can answer s

Re: Help me understand this code snipet please

2007-06-01 Thread Robert Story
On Fri, 18 May 2007 06:20:43 -0700 (PDT) Need wrote: NH> Then what is the purpose of the "row_prep" procedure ? Basically, when would i place code in the "row_prep" procedure? The only thing the container really needs is the index values, so it can find the right instances when a request comes i

Re: Help me understand this code snipet please

2007-05-18 Thread Need Help
Then what is the purpose of the "row_prep" procedure ? Basically, when would i place code in the "row_prep" procedure? Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need Help wrote: > This is because the data can change so I can not simply load it > one time when the "container_load"

Re: Help me understand this code snipet please

2007-05-18 Thread Dave Shield
On 18/05/07, Need Help <[EMAIL PROTECTED]> wrote: > This is because the data can change so I can not simply load it > one time when the "container_load" procedure is called at the start. > ** I guess I am assuming that the "container_load" procedure only gets > called one time at the start...

Re: Help me understand this code snipet please

2007-05-18 Thread Need Help
Thing is, the code I gave you was only my "test" code. My real implementation (once I am convinced I know what I am doing) is going to require me to populate the row context data (all the rows in the table) in the "row_prep" procedure and "not" in the "container_load" procedure anymore. This

Re: Help me understand this code snipet please

2007-05-17 Thread Robert Story
On Thu, 17 May 2007 13:44:41 -0700 (PDT) Need wrote: NH> Now, I attached the "data_access.c" module which has the container_load procedure in it for you to see. I included a description of the problem for you to read at the location in which in occurs. Search for the text "PROBLEM" in the cod

Re: Help me understand this code snipet please

2007-05-17 Thread Need Help
Yes, this code is in my container_load procedure and I do understand that I need to define those fields myself. Now, the same problem occurs in the ocStbHostAVInterfaceTable container_load procedure since it mirrors the ifTable implementation in the tutorial. Now, I attached the "data_access.

Re: Help me understand this code snipet please

2007-05-17 Thread Robert Story
On Thu, 17 May 2007 08:26:18 -0700 (PDT) Need wrote: NH> In order to learn how to use NetSNMP I was reading through the MFD ifTable tutorial. Part of the code generated for the "ifTable" table (when using the "mib2c" command with the MFD configuration file) is the following: NH> NH> if ((rowre

Help me understand this code snipet please

2007-05-17 Thread Need Help
In order to learn how to use NetSNMP I was reading through the MFD ifTable tutorial. Part of the code generated for the "ifTable" table (when using the "mib2c" command with the MFD configuration file) is the following: if ((rowreq_ctx->data.ifDescr == NULL) || (rowreq_ctx->data.ifDescr_len