]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Verb last
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 20 Jun 2017 20:53:11 +0000 (16:53 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 20 Jun 2017 20:53:11 +0000 (16:53 -0400)
src/lib/io/application.h
src/lib/io/worker.c
src/modules/proto_radius/proto_radius.c
src/tests/util/radius_schedule_test.c

index e28b7422ed5eeab2cdcebe871a8c551f4cf575ae..262233357648ac6c00a92ab200158a580083b910 100644 (file)
@@ -42,7 +42,7 @@ typedef int (*fr_app_bootstrap_t)( void *instance, CONF_SECTION *cs);
  * @param[in] instance of the #fr_app_t.
  * @param[in] request  To set the next state function for.
  */
-typedef void (*fr_app_set_process_t)(void const *instance, REQUEST *request);
+typedef void (*fr_app_process_set_t)(void const *instance, REQUEST *request);
 
 /** Allows submodules to receive uctx data (a structure provided by their parent)
  *
@@ -60,7 +60,7 @@ typedef struct {
        fr_app_bootstrap_t              bootstrap;
        fr_app_instantiate_t            instantiate;
        fr_app_open_t                   open;           //!< Open listen sockets.
-       fr_app_set_process_t            set_process;
+       fr_app_process_set_t            process_set;
 } fr_app_t;
 
 /** Public structure describing an application (protocol) specialisation
index 930520ae4d0e10d3cf9081d9bcd9c065662b48ee..14fb369a68bafa200dcaad7b6316654fb9253339 100644 (file)
@@ -721,7 +721,7 @@ nak:
         *      Call the main protocol handlr to set the right async
         *      process function.
         */
-       listen->app->set_process(listen->app_instance, request);
+       listen->app->process_set(listen->app_instance, request);
 
        rad_assert(request->async->process != NULL);
 
index db956e9a1d9b7ebd82fba4debe59bbdd93596f34..540d7762110dfd9a317ca2a92d4442c852502c82 100644 (file)
@@ -204,7 +204,7 @@ static ssize_t mod_encode(UNUSED void const *instance, REQUEST *request,
        return len;
 }
 
-static void mod_set_process(void const *instance, REQUEST *request)
+static void mod_process_set(void const *instance, REQUEST *request)
 {
        proto_radius_t const *inst = talloc_get_type_abort(instance, proto_radius_t);
        fr_io_process_t process;
@@ -401,5 +401,5 @@ fr_app_t proto_radius = {
        .bootstrap      = mod_bootstrap,
        .instantiate    = mod_instantiate,
        .open           = mod_open,
-       .set_process    = mod_set_process
+       .process_set    = mod_process_set
 };
index c40455ee11ec72e4e32a86d66da112564038c0f9..5e835b5281d6c47d9bd978a35d954f23a57da4ef 100644 (file)
@@ -184,13 +184,13 @@ static fr_app_io_t app_io = {
        .nak = test_nak
 };
 
-static void set_process(UNUSED void const *ctx, REQUEST *request)
+static void process_set(UNUSED void const *ctx, REQUEST *request)
 {
        request->async->process = test_process;
 }
 
 static fr_app_t test_app = {
-       .set_process = set_process,
+       .process_set = process_set,
 };
 
 static void NEVER_RETURNS usage(void)