📄 radiusd.py
字号:
## Definitions for RADIUS programs## Copyright 2002 Miguel A.L. Paraz <mparaz@mparaz.com>## This should only be used when testing modules.# Inside freeradius, the 'radiusd' Python module is created by the C module# and the definitions are automatically created.# from modules.hRLM_MODULE_REJECT = 0RLM_MODULE_FAIL = 1RLM_MODULE_OK = 2RLM_MODULE_HANDLED = 3RLM_MODULE_INVALID = 4RLM_MODULE_USERLOCK = 5RLM_MODULE_NOTFOUND = 6RLM_MODULE_NOOP = 7 RLM_MODULE_UPDATED = 8RLM_MODULE_NUMCODES = 9# from radiusd.hL_DBG = 1L_AUTH = 2L_INFO = 3L_ERR = 4L_PROXY = 5L_CONS = 128# log functiondef radlog(level, msg): import sys sys.stdout.write(msg + '\n') level = level
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -