radiusd.py
来自「free radius编程。完成AAA的实现」· Python 代码 · 共 43 行
PY
43 行
## 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 + =
减小字号Ctrl + -
显示快捷键?