From eee7bf80e13df16a754b16929d22d354e0447a9f Mon Sep 17 00:00:00 2001
From: Nicolas Joly <njoly@pasteur.fr>
Date: Fri, 27 Feb 2015 14:01:46 -0800
Subject: [PATCH] Update sched plugin web description

Add missing arguments to slurm_sched_p_newalloc/slurm_sched_p_freealloc
documentation.
---
 doc/html/schedplugins.shtml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/html/schedplugins.shtml b/doc/html/schedplugins.shtml
index 2f1912dd8ea..cd3521f3b30 100644
--- a/doc/html/schedplugins.shtml
+++ b/doc/html/schedplugins.shtml
@@ -113,7 +113,7 @@ to indicate the reason for failure.</p>
 the plugin should return SLURM_ERROR and set the errno to an appropriate value
 to indicate the reason for failure.</p>
 
-<p class="commandline">int slurm_sched_p_newalloc (void);</p>
+<p class="commandline">int slurm_sched_p_newalloc (struct job_record *job_ptr);</p>
 <p style="margin-left:.2in"><b>Description</b>: Note the successful allocation of resources to a job.</p>
 <p style="margin-left:.2in"><b>Arguments</b>: Pointer to the slurmctld job structure. This can be used to
 get partition, allocated resources, time limit, etc.</p>
@@ -121,7 +121,7 @@ get partition, allocated resources, time limit, etc.</p>
 the plugin should return SLURM_ERROR and set the errno to an appropriate value
 to indicate the reason for failure.</p>
 
-<p class="commandline">int slurm_sched_p_freealloc (void);</p>
+<p class="commandline">int slurm_sched_p_freealloc (struct job_record *job_ptr);</p>
 <p style="margin-left:.2in"><b>Description</b>: Note the successful release of resources for a job.</p>
 <p style="margin-left:.2in"><b>Arguments</b>: Pointer to the slurmctld job structure. This can be used to
 get partition, allocated resources, time limit, etc.</p>
@@ -187,6 +187,6 @@ releases of Slurm may revise this API. A scheduler plugin conveys its ability
 to implement a particular API version using the mechanism outlined for Slurm plugins.</p>
 <p class="footer"><a href="#top">top</a></p>
 
-<p style="text-align:center;">Last modified 8 May 2014</p>
+<p style="text-align:center;">Last modified 27 February 2015</p>
 
 <!--#include virtual="footer.txt"-->
-- 
GitLab