![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/server/base.h>#include <freeradius-devel/io/listen.h>#include <freeradius-devel/unlang/base.h>#include <freeradius-devel/util/debug.h>#include "proto_cron.h"
Include dependency graph for cron.c:Go to the source code of this file.
Functions | |
| static int | mod_instantiate (void *instance, CONF_SECTION *conf) |
| Instantiate the application. | |
| static int | mod_open (void *instance, fr_schedule_t *sc, UNUSED CONF_SECTION *conf) |
| Open listen sockets/connect to external event source. | |
| static int | parse_field (CONF_ITEM *ci, char const **start, char const *name, unsigned int min, unsigned int max) |
| static int | time_parse (TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, conf_parser_t const *rule) |
| static int | time_parse (UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
| Checks the syntax of a cron job. | |
| static int | type_parse (TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, conf_parser_t const *rule) |
| static int | type_parse (UNUSED TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
| Translates the packet-type into a submodule name. | |
Variables | |
| static fr_dict_t const * | dict_cron |
| static conf_parser_t const | limit_config [] |
| fr_app_t | proto_cron |
| static conf_parser_t const | proto_cron_config [] |
| How to parse a CRON listen section. | |
| fr_dict_autoload_t | proto_cron_dict [] |
| static fr_table_ptr_sorted_t | time_names [] |
| static size_t | time_names_len = NUM_ELEMENTS(time_names) |
|
static |
|
static |
Open listen sockets/connect to external event source.
| [in] | instance | Ctx data for this application. |
| [in] | sc | to add our file descriptor to. |
| [in] | conf | Listen section parsed to give us instance. |
Definition at line 334 of file cron.c.
Here is the call graph for this function:
|
static |
|
static |
|
static |
Checks the syntax of a cron job.
| [in] | ctx | to allocate data in (instance of proto_cron). |
| [out] | out | Where to write a module_instance_t containing the module handle and instance. |
| [in] | parent | Base structure address. |
| [in] | ci | CONF_PAIR specifying the name of the type module. |
| [in] | rule | unused. |
https://github.com/staticlibs/ccronexpr/blob/master/ccronexpr.c
Definition at line 279 of file cron.c.
Here is the call graph for this function:
|
static |
|
static |
Translates the packet-type into a submodule name.
| [in] | ctx | to allocate data in (instance of proto_cron). |
| [out] | out | Where to write a module_instance_t containing the module handle and instance. |
| [in] | parent | Base structure address. |
| [in] | ci | CONF_PAIR specifying the name of the type module. |
| [in] | rule | unused. |
Definition at line 81 of file cron.c.
Here is the call graph for this function:
|
static |
| fr_app_t proto_cron |
|
static |
How to parse a CRON listen section.
| fr_dict_autoload_t proto_cron_dict |
|
static |
|
static |
1.9.8