252N/A/*
252N/A * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
252N/A *
252N/A * U.S. Government Rights - Commercial software. Government users are subject
252N/A * to the Sun Microsystems, Inc. standard license agreement and applicable
252N/A * provisions of the FAR and its supplements.
252N/A *
252N/A *
252N/A * This distribution may include materials developed by third parties. Sun,
252N/A * Sun Microsystems, the Sun logo and Solaris are trademarks or registered
252N/A * trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
252N/A *
252N/A */
252N/A#pragma ident "@(#)entLPMappingTable.h 1.1 03/02/24 SMI"
252N/A/*
252N/A * Note: this file originally auto-generated by mib2c using
252N/A * : mib2c.iterate.conf,v 5.4 2002/09/11 22:42:04 hardaker Exp $
252N/A */
252N/A#ifndef ENTLPMAPPINGTABLE_H
252N/A#define ENTLPMAPPINGTABLE_H
252N/A
252N/A/*
252N/A * function declarations
252N/A */
252N/Avoid init_entLPMappingTable(void);
252N/Avoid initialize_table_entLPMappingTable(void);
252N/ANetsnmp_Node_Handler entLPMappingTable_handler;
252N/A
252N/ANetsnmp_First_Data_Point entLPMappingTable_get_first_data_point;
252N/ANetsnmp_Next_Data_Point entLPMappingTable_get_next_data_point;
252N/A
252N/A/*
252N/A * column number definitions for table entLPMappingTable
252N/A */
252N/A#define COLUMN_ENTLPPHYSICALINDEX 1
252N/A
252N/Atypedef struct entLPMappingTableEntry_s {
252N/A int_l entLogicalIndex;
252N/A int_l *physicalIndexes; /* array of Physical Table indexes */
252N/A struct entLPMappingTableEntry_s *pNextLPMappingTableEntry;
252N/A} entLPMappingTableEntry_t;
252N/A
252N/Aextern int addLPMappingTableEntry(int xentLogicalIndex, int xentPhysicalIndex);
252N/A
252N/A/*
252N/A This function deletes the table entries for a given logical index
252N/A and physical index.
252N/A
252N/A Returns 1 for success and -1 for failure.
252N/A*/
252N/A
252N/Aextern int deleteLPMappingTableEntry(int xLogicalIndex, int xPhysicalIndex);
252N/Aextern int deleteLPMappingLogicalIndex(int xentLogicalIndex);
252N/Aextern int deleteLPMappingPhysicalIndex(int xentPhysicalIndex);
252N/A
252N/A
252N/A#endif /* ENTLPMAPPINGTABLE_H */