/******************************************************************************
*
* Description
* mpapi-plugin.h - interfaces for the MP API Version 1.0 plugin library.
* A compliant plugin library should implement interfaces with name without Fn
* suffix from function definitions below.
*
* License:
* The contents of this file are subject to the SNIA Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* TBD
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is iSCSI Management API and Multipath Management API
* plugin header file
*
* The Initial Developer of the Original Code is:
* Benjamin F. Kuo Troika Networks, Inc. (benk@troikanetworks.com)
* David Dillard VERITAS Software(david.dillard@veritas.com)
* Jeff Ding Adaptec, Inc. (jding@corp.adaptec.com)
* Hyon Kim Sun Microsystems(hyon.kim@sun.com)
*
* Contributor(s):
* Paul von Behren Sun Microsystems(paul.vonbehren@sun.com)
*
******************************************************************************
*
* Changes:
* 1/15/2005 Implemented SNIA MP API specification 1.0
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MPPLUGIN_H
#define MPPLUGIN_H
/*
* MP API common library calls InitaizeFn as part of dynamically loading
* the plugins. For this version of implementation the common library
* passes the sequence number of the plugin oid through InitializeFn. The
* sequnece number will be used as the ownerId for the plugin generated OIDs.
*/
);
/*
* MP API common library calls TerminateFn as part of dynamically unloading
* the plugins.
*/
/**
******************************************************************************
*
* Function table for OID and properties discovery API
*
******************************************************************************
*/
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
/**
******************************************************************************
*
* Function table for path management API
*
******************************************************************************
*/
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
/**
******************************************************************************
*
* Function table for event support API
*
******************************************************************************
*/
void *pCallerData
);
);
void *pCallerData
);
);
);
#endif
#ifdef __cplusplus
};
#endif