@@ -37,7 +37,6 @@ xmlNode *the_cib = NULL;
3737 * \internal
3838 * \brief Process a \c PCMK__CIB_REQUEST_ABS_DELETE
3939 *
40- * \param[in] options Ignored
4140 * \param[in] section Ignored
4241 * \param[in] req Ignored
4342 * \param[in] input Ignored
@@ -49,8 +48,8 @@ xmlNode *the_cib = NULL;
4948 * \note This is unimplemented and simply returns an error.
5049 */
5150int
52- based_process_abs_delete (int options , const char * section , xmlNode * req ,
53- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
51+ based_process_abs_delete (const char * section , xmlNode * req , xmlNode * input ,
52+ xmlNode * * cib , xmlNode * * answer )
5453{
5554 /* @COMPAT Remove when PCMK__CIB_REQUEST_ABS_DELETE is removed. Note that
5655 * external clients with Pacemaker versions < 3.0.0 can send it.
@@ -59,8 +58,8 @@ based_process_abs_delete(int options, const char *section, xmlNode *req,
5958}
6059
6160int
62- based_process_commit_transact (int options , const char * section , xmlNode * req ,
63- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
61+ based_process_commit_transact (const char * section , xmlNode * req , xmlNode * input ,
62+ xmlNode * * cib , xmlNode * * answer )
6463{
6564 /* On success, our caller will activate *cib locally, trigger a replace
6665 * notification if appropriate, and sync *cib to all nodes. On failure, our
@@ -84,25 +83,25 @@ based_process_commit_transact(int options, const char *section, xmlNode *req,
8483}
8584
8685int
87- based_process_is_primary (int options , const char * section , xmlNode * req ,
88- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
86+ based_process_is_primary (const char * section , xmlNode * req , xmlNode * input ,
87+ xmlNode * * cib , xmlNode * * answer )
8988{
9089 // @COMPAT Pacemaker Remote clients <3.0.0 may send this
9190 return (based_is_primary ? pcmk_rc_ok : EPERM );
9291}
9392
9493// @COMPAT: Remove when PCMK__CIB_REQUEST_NOOP is removed
9594int
96- based_process_noop (int options , const char * section , xmlNode * req ,
97- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
95+ based_process_noop (const char * section , xmlNode * req , xmlNode * input ,
96+ xmlNode * * cib , xmlNode * * answer )
9897{
9998 * answer = NULL ;
10099 return pcmk_rc_ok ;
101100}
102101
103102int
104- based_process_ping (int options , const char * section , xmlNode * req ,
105- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
103+ based_process_ping (const char * section , xmlNode * req , xmlNode * input ,
104+ xmlNode * * cib , xmlNode * * answer )
106105{
107106 /* existing_cib and *cib should be identical. In the absence of ACL
108107 * filtering, they should also match the_cib. However, they may be copies
@@ -145,8 +144,8 @@ based_process_ping(int options, const char *section, xmlNode *req,
145144}
146145
147146int
148- based_process_primary (int options , const char * section , xmlNode * req ,
149- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
147+ based_process_primary (const char * section , xmlNode * req , xmlNode * input ,
148+ xmlNode * * cib , xmlNode * * answer )
150149{
151150 if (!based_is_primary ) {
152151 pcmk__info ("We are now in R/W mode" );
@@ -160,8 +159,8 @@ based_process_primary(int options, const char *section, xmlNode *req,
160159}
161160
162161int
163- based_process_schemas (int options , const char * section , xmlNode * req ,
164- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
162+ based_process_schemas (const char * section , xmlNode * req , xmlNode * input ,
163+ xmlNode * * cib , xmlNode * * answer )
165164{
166165 xmlNode * wrapper = NULL ;
167166 xmlNode * data = NULL ;
@@ -205,8 +204,8 @@ based_process_schemas(int options, const char *section, xmlNode *req,
205204}
206205
207206int
208- based_process_secondary (int options , const char * section , xmlNode * req ,
209- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
207+ based_process_secondary (const char * section , xmlNode * req , xmlNode * input ,
208+ xmlNode * * cib , xmlNode * * answer )
210209{
211210 if (based_is_primary ) {
212211 pcmk__info ("We are now in R/O mode" );
@@ -220,8 +219,8 @@ based_process_secondary(int options, const char *section, xmlNode *req,
220219}
221220
222221int
223- based_process_shutdown (int options , const char * section , xmlNode * req ,
224- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
222+ based_process_shutdown (const char * section , xmlNode * req , xmlNode * input ,
223+ xmlNode * * cib , xmlNode * * answer )
225224{
226225 const char * host = pcmk__xe_get (req , PCMK__XA_SRC );
227226
@@ -243,15 +242,15 @@ based_process_shutdown(int options, const char *section, xmlNode *req,
243242}
244243
245244int
246- based_process_sync (int options , const char * section , xmlNode * req ,
247- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
245+ based_process_sync (const char * section , xmlNode * req , xmlNode * input ,
246+ xmlNode * * cib , xmlNode * * answer )
248247{
249248 return sync_our_cib (req , true);
250249}
251250
252251int
253- based_process_upgrade (int options , const char * section , xmlNode * req ,
254- xmlNode * input , xmlNode * * cib , xmlNode * * answer )
252+ based_process_upgrade (const char * section , xmlNode * req , xmlNode * input ,
253+ xmlNode * * cib , xmlNode * * answer )
255254{
256255 int rc = pcmk_rc_ok ;
257256
@@ -263,7 +262,7 @@ based_process_upgrade(int options, const char *section, xmlNode *req,
263262 * re-broadcasts the request with PCMK__XA_CIB_SCHEMA_MAX, and each node
264263 * performs the upgrade (and notifies its local clients) here.
265264 */
266- return cib__process_upgrade (options , section , req , input , cib , answer );
265+ return cib__process_upgrade (section , req , input , cib , answer );
267266
268267 } else {
269268 xmlNode * scratch = pcmk__xml_copy (NULL , * cib );
0 commit comments