@@ -145,7 +145,7 @@ typedef struct osm_api_ps_event {
typedef struct osm_event_plugin {
const char *osm_version;
void *(*create) (struct osm_opensm *osm);
- void (*delete) (void *plugin_data);
+ void (*destroy) (void *plugin_data);
void (*report) (void *plugin_data, osm_epi_event_id_t event_id,
void *event_data);
} osm_event_plugin_t;
@@ -141,8 +141,8 @@ DLOPENFAIL:
void osm_epi_destroy(osm_epi_plugin_t * plugin)
{
if (plugin) {
- if (plugin->impl->delete)
- plugin->impl->delete(plugin->plugin_data);
+ if (plugin->impl->destroy)
+ plugin->impl->destroy(plugin->plugin_data);
dlclose(plugin->handle);
free(plugin->plugin_name);
free(plugin);
@@ -6,4 +6,4 @@
# API_REV - advance on any added API
# RUNNING_REV - advance any change to the vendor files
# AGE - number of backward versions the API still supports
-LIBVERSION=1:0:0
+LIBVERSION=2:0:0
@@ -207,6 +207,6 @@ static void report(void *_log, osm_epi_event_id_t event_id, void *event_data)
osm_event_plugin_t osm_event_plugin = {
osm_version:OSM_VERSION,
create:construct,
- delete:destroy,
+ destroy:destroy,
report:report
};