3 # Definitions for RADIUS programs
5 # Copyright 2002 Miguel A.L. Paraz <mparaz@mparaz.com>
7 # This should only be used when testing modules.
8 # Inside freeradius, the 'radiusd' Python module is created by the C module
9 # and the definitions are automatically created.
18 RLM_MODULE_HANDLED = 3
19 RLM_MODULE_INVALID = 4
20 RLM_MODULE_USERLOCK = 5
21 RLM_MODULE_NOTFOUND = 6
23 RLM_MODULE_UPDATED = 8
24 RLM_MODULE_NUMCODES = 9
37 def radlog(level, msg):
39 sys.stdout.write("<python>" + msg + '\n')