Skip to content
Snippets Groups Projects
Commit 46a491ed authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Remove plugrack_{read,write}_cache().

These have been awaiting an implementation since 2003.
parent b1537a90
No related branches found
No related tags found
No related merge requests found
......@@ -472,16 +472,6 @@ _match_major ( const char *path_name, const char *major_type )
return true;
}
int
plugrack_read_cache( plugrack_t rack,
const char *cache_file )
{
/* Don't care for now. */
return SLURM_ERROR;
}
int
plugrack_purge_idle( plugrack_t rack )
{
......@@ -525,16 +515,6 @@ plugrack_load_all( plugrack_t rack )
return SLURM_SUCCESS;
}
int
plugrack_write_cache( plugrack_t rack,
const char *cache )
{
/* Not implemented. */
return SLURM_SUCCESS;
}
plugin_handle_t
plugrack_use_by_type( plugrack_t rack,
const char *full_type )
......
......@@ -122,15 +122,6 @@ int plugrack_set_paranoia( plugrack_t rack,
int plugrack_read_dir( plugrack_t rack,
const char *dir );
/*
* Add plugins to the rack by reading the given cache. Note that plugins
* may not actually load, but the rack will be made aware of them.
*
* NOT CURRENTLY IMPLEMENTED.
*/
int plugrack_read_cache( plugrack_t rack,
const char *cache );
/*
* Remove from memory all plugins that are not currently in use by the
* program.
......@@ -146,14 +137,6 @@ int plugrack_purge_idle( plugrack_t rack );
*/
int plugrack_load_all( plugrack_t rack );
/*
* Write the current contents of the plugin rack to a file
* in cache format, suitable to be read later using plugrack_read_cache().
*
* Returns a Slurm errno.
*/
int plugrack_write_cache( plugrack_t rack, const char *cache );
/*
* Find a plugin in the rack which matches the given minor type,
* load it if necessary, and return a handle to it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment