Here are the two tables I am dealing with again:

  Table1(ocStbHostAVInterfaceTable)
  Table2(ocStbHostAnalogVideoTable)

I looked into the "ifXTable.h" file and saw how the "ifTable" data structures 
are being used.  

As a result I removed the following structure/definitions from Table2 ....

  ocStbHostAnalogVideoTable_registration
  ocStbHostAnalogVideoTable_data
  ocStbHostAnalogVideoTable_mib_index
  ocStbHostAnalogVideoTable_rowreq_ctx
  ocStbHostAnalogVideoTable_ref_rowreq_ctx

  
..... and added the following code to indicate to use Table1 structures:
  
  typedef ocStbHostAVInterfaceTable_registration    
ocStbHostAnalogVideoTable_registration;
  typedef ocStbHostAVInterfaceTable_data            
ocStbHostAnalogVideoTable_data;
  typedef ocStbHostAVInterfaceTable_mib_index       
ocStbHostAnalogVideoTable_mib_index;
  typedef ocStbHostAVInterfaceTable_rowreq_ctx      
ocStbHostAnalogVideoTable_rowreq_ctx;
  typedef ocStbHostAVInterfaceTable_ref_rowreq_ctx  
ocStbHostAnalogVideoTable_ref_rowreq_ctx;


My problem now is that the code does not compile.   I confirmed the compile 
errors are due to not being able to find the Table1 structure definitions 
(shown below).  

  ocStbHostAVInterfaceTable_registration  
  ocStbHostAVInterfaceTable_data          
  ocStbHostAVInterfaceTable_mib_index     
  ocStbHostAVInterfaceTable_rowreq_ctx    
  ocStbHostAVInterfaceTable_ref_rowreq_ctx


Of course, I made sure the Table1 header file (where these structures are 
defined) was included:

  #include 
"OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable.h"


Anyway, I know this might be a long shot, but do you think I am missing some 
other thing?  I have been looking at the "ifTable.h" and "ifXTable.h" code as a 
guide to see if I am missing anything, but I can determine what it could be 
causing my compile errors.



Robert Story <[EMAIL PROTECTED]> wrote: On Thu, 7 Jun 2007 12:05:15 -0700 (PDT) 
Need wrote:
NH> Ugh ... I just noticed something I think I am doing wrong:   
NH> 

Yep. Check out the ifXTable headers.. you'll see that it is using ifTable
structures.



       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to