|
1 /* |
|
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
|
3 * |
|
4 * U.S. Government Rights - Commercial software. Government users are subject |
|
5 * to the Sun Microsystems, Inc. standard license agreement and applicable |
|
6 * provisions of the FAR and its supplements. |
|
7 * |
|
8 * |
|
9 * This distribution may include materials developed by third parties. Sun, |
|
10 * Sun Microsystems, the Sun logo and Solaris are trademarks or registered |
|
11 * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. |
|
12 * |
|
13 */ |
|
14 /* |
|
15 * Note: this file originally auto-generated by mib2c using |
|
16 * : mib2c.iterate.conf,v 5.5 2002/12/16 22:50:18 hardaker Exp $ |
|
17 */ |
|
18 #ifndef ENTPHYSICALCONTAINSTABLE_H |
|
19 #define ENTPHYSICALCONTAINSTABLE_H |
|
20 |
|
21 /* function declarations */ |
|
22 void init_entPhysicalContainsTable(void); |
|
23 void initialize_table_entPhysicalContainsTable(void); |
|
24 Netsnmp_Node_Handler entPhysicalContainsTable_handler; |
|
25 |
|
26 Netsnmp_First_Data_Point entPhysicalContainsTable_get_first_data_point; |
|
27 Netsnmp_Next_Data_Point entPhysicalContainsTable_get_next_data_point; |
|
28 |
|
29 /* column number definitions for table entPhysicalContainsTable */ |
|
30 #define COLUMN_ENTPHYSICALCHILDINDEX 1 |
|
31 |
|
32 typedef struct physIndexAndChildIndex_s { |
|
33 int_l entPhysicalIndex; |
|
34 int_l *childIndexes; /* array of child indexes */ |
|
35 struct physIndexAndChildIndex_s *pNextEntry; |
|
36 } physIndexAndChildIndex_t; |
|
37 |
|
38 typedef struct { |
|
39 physIndexAndChildIndex_t *pCurEntry; |
|
40 int_l *pCuridx; |
|
41 } PhysChildtable; |
|
42 |
|
43 /* Fix for 4915033 */ |
|
44 extern int addPhysicalContainsTableEntry(int xentPhysicalIndex, int xentChildIndex); |
|
45 extern int* getPhysicalContainsChildren(int parentIndex); |
|
46 extern int deletePhysicalContainsTableEntry(int xParentIndex, int xChildIndex); |
|
47 extern int deletePhysicalContainsParentIndex(int xParentIndex); |
|
48 extern int deletePhysicalContainsChildIndex(int xChildIndex); |
|
49 /* End of Fix for 4915033 */ |
|
50 |
|
51 #endif /* ENTPHYSICALCONTAINSTABLE_H */ |