Translates requests between the server an a ruby interpreter. More...
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <ruby.h>
Go to the source code of this file.
Data Structures | |
struct | rlm_ruby_t |
struct | varlookup |
Macros | |
#define | BUF_SIZE 1024 |
#define | RLM_RUBY_FUNC(foo) |
#define | RLM_RUBY_LOAD(foo) |
#define | RLM_RUBY_STRUCT(foo) unsigned long func_##foo |
Typedefs | |
typedef struct rlm_ruby_t | rlm_ruby_t |
Functions | |
static void | add_vp_tuple (TALLOC_CTX *ctx, REQUEST *request, VALUE_PAIR **vpp, VALUE rb_value, char const *function_name) |
static rlm_rcode_t | CC_HINT (nonnull(4)) |
static int | load_function (char const *f_name, unsigned long *func, VALUE module) |
static int | mod_detach (UNUSED void *instance) |
static int | mod_instantiate (UNUSED CONF_SECTION *conf, void *instance) |
static VALUE | radlog_rb (UNUSED VALUE self, VALUE msg_type, VALUE rb_msg) |
Variables | |
static struct varlookup | constants [] |
static const CONF_PARSER | module_config [] |
module_t | rlm_ruby |
Translates requests between the server an a ruby interpreter.
Definition in file rlm_ruby.c.
struct varlookup |
Definition at line 295 of file rlm_ruby.c.
Data Fields | ||
---|---|---|
char const * | name | |
int | value |
#define BUF_SIZE 1024 |
Definition at line 198 of file rlm_ruby.c.
#define RLM_RUBY_FUNC | ( | foo | ) |
Definition at line 421 of file rlm_ruby.c.
#define RLM_RUBY_LOAD | ( | foo | ) |
#define RLM_RUBY_STRUCT | ( | foo | ) | unsigned long func_##foo |
Definition at line 58 of file rlm_ruby.c.
typedef struct rlm_ruby_t rlm_ruby_t |
|
static |
Definition at line 114 of file rlm_ruby.c.
|
static |
|
static |
Definition at line 320 of file rlm_ruby.c.
|
static |
Definition at line 441 of file rlm_ruby.c.
|
static |
|
static |
Definition at line 103 of file rlm_ruby.c.
|
static |
|
static |
Definition at line 90 of file rlm_ruby.c.
module_t rlm_ruby |
Definition at line 459 of file rlm_ruby.c.