The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Variables
rcode.c File Reference
#include <freeradius-devel/server/rcode.h>
+ Include dependency graph for rcode.c:

Go to the source code of this file.

Variables

fr_table_num_sorted_t const rcode_table []
 
size_t rcode_table_len = NUM_ELEMENTS(rcode_table)
 

Variable Documentation

◆ rcode_table

fr_table_num_sorted_t const rcode_table[]
Initial value:
= {
{ L("disallow"), RLM_MODULE_DISALLOW },
{ L("fail"), RLM_MODULE_FAIL },
{ L("handled"), RLM_MODULE_HANDLED },
{ L("invalid"), RLM_MODULE_INVALID },
{ L("noop"), RLM_MODULE_NOOP },
{ L("notfound"), RLM_MODULE_NOTFOUND },
{ L("ok"), RLM_MODULE_OK },
{ L("reject"), RLM_MODULE_REJECT },
{ L("updated"), RLM_MODULE_UPDATED },
}
#define L(_str)
Helper for initialising arrays of string literals.
Definition: build.h:207
@ RLM_MODULE_INVALID
The module considers the request invalid.
Definition: rcode.h:45
@ RLM_MODULE_OK
The module is OK, continue.
Definition: rcode.h:43
@ RLM_MODULE_FAIL
Module failed, don't reply.
Definition: rcode.h:42
@ RLM_MODULE_DISALLOW
Reject the request (user is locked out).
Definition: rcode.h:46
@ RLM_MODULE_REJECT
Immediately reject the request.
Definition: rcode.h:41
@ RLM_MODULE_NOTFOUND
User not found.
Definition: rcode.h:47
@ RLM_MODULE_UPDATED
OK (pairs modified).
Definition: rcode.h:49
@ RLM_MODULE_NOOP
Module succeeded without doing anything.
Definition: rcode.h:48
@ RLM_MODULE_HANDLED
The module handled the request, so stop.
Definition: rcode.h:44

Definition at line 35 of file rcode.c.

◆ rcode_table_len

size_t rcode_table_len = NUM_ELEMENTS(rcode_table)

Definition at line 46 of file rcode.c.