<?php

/**
 * @return resource|false
 */
function radius_acct_open()
{
}

/**
 * @param resource $radius_handle
 * @param string $hostname
 * @param int $port
 * @param string $secret
 * @param int $timeout
 * @param int $max_tries
 *
 * @return bool
 */
function radius_add_server($radius_handle, $hostname, $port, $secret, $timeout, $max_tries)
{
}

/**
 * @return resource|false
 */
function radius_auth_open()
{
}

/**
 * @param resource $radius_handle
 *
 * @return bool
 */
function radius_close($radius_handle)
{
}

/**
 * @param resource $radius_handle
 * @param string $file
 *
 * @return bool
 */
function radius_config($radius_handle, $file)
{
}

/**
 * @param resource $radius_handle
 * @param int $type
 *
 * @return bool
 */
function radius_create_request($radius_handle, $type)
{
}

const RADIUS_MPPE_KEY_LEN = 16;

const RAD_OPTION_TAG = 1;

const RADIUS_OPTION_SALT = 2;

const RADIUS_ACCESS_REQUEST = 1;

const RADIUS_ACCESS_ACCEPT = 2;

const RADIUS_ACCESS_REJECT = 3;

const RADIUS_ACCOUNTING_REQUEST = 4;

const RADIUS_ACCOUNTING_RESPONSE = 5;

const RADIUS_ACCESS_CHALLENGE = 11;

const RADIUS_DISCONNECT_REQUEST = 40;

const RADIUS_DISCONNECT_ACK = 41;

const RADIUS_DISCONNECT_NAK = 42;

const RADIUS_COA_REQUEST = 43;

const RADIUS_COA_ACK = 44;

const RADIUS_COA_NAK = 45;

const RADIUS_USER_NAME = 1;

const RADIUS_USER_PASSWORD = 2;

const RADIUS_CHAP_PASSWORD = 3;

const RADIUS_NAS_IP_ADDRESS = 4;

const RADIUS_NAS_PORT = 5;

const RADIUS_SERVICE_TYPE = 6;

const RADIUS_LOGIN = 1;

const RADIUS_FRAMED = 2;

const RADIUS_CALLBACK_LOGIN = 3;

const RADIUS_CALLBACK_FRAMED = 4;

const RADIUS_OUTBOUND = 5;

const RADIUS_ADMINISTRATIVE = 6;

const RADIUS_NAS_PROMPT = 7;

const RADIUS_AUTHENTICATE_ONLY = 8;

const RADIUS_CALLBACK_NAS_PROMPT = 9;

const RADIUS_FRAMED_PROTOCOL = 7;

const RADIUS_PPP = 1;

const RADIUS_SLIP = 2;

const RADIUS_ARAP = 3;

const RADIUS_GANDALF = 4;

const RADIUS_XYLOGICS = 5;

const RADIUS_FRAMED_IP_ADDRESS = 8;

const RADIUS_FRAMED_IP_NETMASK = 9;

const RADIUS_FRAMED_ROUTING = 10;

const RADIUS_FILTER_ID = 11;

const RADIUS_FRAMED_MTU = 12;

const RADIUS_FRAMED_COMPRESSION = 13;

const RADIUS_COMP_NONE = 0;

const RADIUS_COMP_VJ = 1;

const RADIUS_COMP_IPXHDR = 2;

const RADIUS_LOGIN_IP_HOST = 14;

const RADIUS_LOGIN_SERVICE = 15;

const RADIUS_LOGIN_TCP_PORT = 16;

const RADIUS_REPLY_MESSAGE = 18;

const RADIUS_CALLBACK_NUMBER = 19;

const RADIUS_CALLBACK_ID = 20;

const RADIUS_FRAMED_ROUTE = 22;

const RADIUS_FRAMED_IPX_NETWORK = 23;

const RADIUS_STATE = 24;

const RADIUS_CLASS = 25;

const RADIUS_VENDOR_SPECIFIC = 26;

const RADIUS_SESSION_TIMEOUT = 27;

const RADIUS_IDLE_TIMEOUT = 28;

const RADIUS_TERMINATION_ACTION = 29;

const RADIUS_CALLED_STATION_ID = 30;

const RADIUS_CALLING_STATION_ID = 31;

const RADIUS_NAS_IDENTIFIER = 32;

const RADIUS_PROXY_STATE = 33;

const RADIUS_LOGIN_LAT_SERVICE = 34;

const RADIUS_LOGIN_LAT_NODE = 35;

const RADIUS_LOGIN_LAT_GROUP = 36;

const RADIUS_FRAMED_APPLETALK_LINK = 37;

const RADIUS_FRAMED_APPLETALK_NETWORK = 38;

const RADIUS_FRAMED_APPLETALK_ZONE = 39;

const RADIUS_CHAP_CHALLENGE = 60;

const RADIUS_NAS_PORT_TYPE = 61;

const RADIUS_ASYNC = 0;

const RADIUS_SYNC = 1;

const RADIUS_ISDN_SYNC = 2;

const RADIUS_ISDN_ASYNC_V120 = 3;

const RADIUS_ISDN_ASYNC_V110 = 4;

const RADIUS_VIRTUAL = 5;

const RADIUS_PIAFS = 6;

const RADIUS_HDLC_CLEAR_CHANNEL = 7;

const RADIUS_X_25 = 8;

const RADIUS_X_75 = 9;

const RADIUS_G_3_FAX = 10;

const RADIUS_SDSL = 11;

const RADIUS_ADSL_CAP = 12;

const RADIUS_ADSL_DMT = 13;

const RADIUS_IDSL = 14;

const RADIUS_ETHERNET = 15;

const RADIUS_XDSL = 16;

const RADIUS_CABLE = 17;

const RADIUS_WIRELESS_OTHER = 18;

const RADIUS_WIRELESS_IEEE_802_11 = 19;

const RADIUS_PORT_LIMIT = 62;

const RADIUS_LOGIN_LAT_PORT = 63;

const RADIUS_CONNECT_INFO = 77;

const RADIUS_NAS_IPV6_ADDRESS = 95;

const RADIUS_FRAMED_INTERFACE_ID = 96;

const RADIUS_FRAMED_IPV6_PREFIX = 97;

const RADIUS_LOGIN_IPV6_HOST = 98;

const RADIUS_FRAMED_IPV6_ROUTE = 99;

const RADIUS_FRAMED_IPV6_POOL = 100;

const RADIUS_ERROR_CAUSE = 101;

const RADIUS_ERROR_CAUSE_RESIDUAL_SESSION_CONTEXT_REMOVED = 201;

const RADIUS_ERROR_CAUSE_INVALID_EAP_PACKET = 202;

const RADIUS_ERROR_CAUSE_UNSUPPORTED_ATTRIBUTE = 401;

const RADIUS_ERROR_CAUSE_MISSING_ATTRIBUTE = 402;

const RADIUS_ERROR_CAUSE_NAS_IDENTIFICATION_MISMATCH = 403;

const RADIUS_ERROR_CAUSE_INVALID_REQUEST = 404;

const RADIUS_ERROR_CAUSE_UNSUPPORTED_SERVICE = 405;

const RADIUS_ERROR_CAUSE_UNSUPPORTED_EXCEPTION = 406;

const RADIUS_ERROR_CAUSE_ADMINISTRATIVELY_PROHIBITED = 501;

const RADIUS_ERROR_CAUSE_REQUEST_NOT_ROUTABLE = 502;

const RADIUS_ERROR_CAUSE_SESSION_CONTEXT_NOT_FOUND = 503;

const RADIUS_ERROR_CAUSE_SESSION_CONTEXT_NOT_REMOVABLE = 504;

const RADIUS_ERROR_CAUSE_OTHER_PROXY_PROCESSING_ERROR = 505;

const RADIUS_ERROR_CAUSE_RESOURCES_UNAVAILABLE = 506;

const RADIUS_ERROR_CAUSE_REQUEST_INITIATED = 507;

const RADIUS_ACCT_STATUS_TYPE = 40;

const RADIUS_START = 1;

const RADIUS_STOP = 2;

const RADIUS_ACCOUNTING_ON = 7;

const RADIUS_ACCOUNTING_OFF = 8;

const RADIUS_ACCT_DELAY_TIME = 41;

const RADIUS_ACCT_INPUT_OCTETS = 42;

const RADIUS_ACCT_OUTPUT_OCTETS = 43;

const RADIUS_ACCT_SESSION_ID = 44;

const RADIUS_ACCT_AUTHENTIC = 45;

const RADIUS_AUTH_RADIUS = 1;

const RADIUS_AUTH_LOCAL = 2;

const RADIUS_AUTH_REMOTE = 3;

const RADIUS_ACCT_SESSION_TIME = 46;

const RADIUS_ACCT_INPUT_PACKETS = 47;

const RADIUS_ACCT_OUTPUT_PACKETS = 48;

const RADIUS_ACCT_TERMINATE_CAUSE = 49;

const RADIUS_TERM_USER_REQUEST = 1;

const RADIUS_TERM_LOST_CARRIER = 2;

const RADIUS_TERM_LOST_SERVICE = 3;

const RADIUS_TERM_IDLE_TIMEOUT = 4;

const RADIUS_TERM_SESSION_TIMEOUT = 5;

const RADIUS_TERM_ADMIN_RESET = 6;

const RADIUS_TERM_ADMIN_REBOOT = 7;

const RADIUS_TERM_PORT_ERROR = 8;

const RADIUS_TERM_NAS_ERROR = 9;

const RADIUS_TERM_NAS_REQUEST = 10;

const RADIUS_TERM_NAS_REBOOT = 11;

const RADIUS_TERM_PORT_UNNEEDED = 12;

const RADIUS_TERM_PORT_PREEMPTED = 13;

const RADIUS_TERM_PORT_SUSPENDED = 14;

const RADIUS_TERM_SERVICE_UNAVAILABLE = 15;

const RADIUS_TERM_CALLBACK = 16;

const RADIUS_TERM_USER_ERROR = 17;

const RADIUS_TERM_HOST_REQUEST = 18;

const RADIUS_ACCT_MULTI_SESSION_ID = 50;

const RADIUS_ACCT_LINK_COUNT = 51;

const RADIUS_VENDOR_MICROSOFT = 311;

const RADIUS_MICROSOFT_MS_CHAP_RESPONSE = 1;

const RADIUS_MICROSOFT_MS_CHAP_ERROR = 2;

const RADIUS_MICROSOFT_MS_CHAP_PW_1 = 3;

const RADIUS_MICROSOFT_MS_CHAP_PW_2 = 4;

const RADIUS_MICROSOFT_MS_CHAP_LM_ENC_PW = 5;

const RADIUS_MICROSOFT_MS_CHAP_NT_ENC_PW = 6;

const RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY = 7;

const RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES = 8;

const RADIUS_MICROSOFT_MS_RAS_VENDOR = 9;

const RADIUS_MICROSOFT_MS_CHAP_DOMAIN = 10;

const RADIUS_MICROSOFT_MS_CHAP_CHALLENGE = 11;

const RADIUS_MICROSOFT_MS_CHAP_MPPE_KEYS = 12;

const RADIUS_MICROSOFT_MS_BAP_USAGE = 13;

const RADIUS_MICROSOFT_MS_LINK_UTILIZATION_THRESHOLD = 14;

const RADIUS_MICROSOFT_MS_LINK_DROP_TIME_LIMIT = 15;

const RADIUS_MICROSOFT_MS_MPPE_SEND_KEY = 16;

const RADIUS_MICROSOFT_MS_MPPE_RECV_KEY = 17;

const RADIUS_MICROSOFT_MS_RAS_VERSION = 18;

const RADIUS_MICROSOFT_MS_OLD_ARAP_PASSWORD = 19;

const RADIUS_MICROSOFT_MS_NEW_ARAP_PASSWORD = 20;

const RADIUS_MICROSOFT_MS_ARAP_PASSWORD_CHANGE_REASON = 21;

const RADIUS_MICROSOFT_MS_FILTER = 22;

const RADIUS_MICROSOFT_MS_ACCT_AUTH_TYPE = 23;

const RADIUS_MICROSOFT_MS_ACCT_EAP_TYPE = 24;

const RADIUS_MICROSOFT_MS_CHAP2_RESPONSE = 25;

const RADIUS_MICROSOFT_MS_CHAP2_SUCCESS = 26;

const RADIUS_MICROSOFT_MS_CHAP2_PW = 27;

const RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER = 28;

const RADIUS_MICROSOFT_MS_SECONDARY_DNS_SERVER = 29;

const RADIUS_MICROSOFT_MS_PRIMARY_NBNS_SERVER = 30;

const RADIUS_MICROSOFT_MS_SECONDARY_NBNS_SERVER = 31;

const RADIUS_MICROSOFT_MS_ARAP_CHALLENGE = 33;

const RADIUS_OPTION_NONE = RADIUS_OPTION_NONE;

const RADIUS_OPTION_TAGGED = RADIUS_OPTION_TAGGED;
