38 #ifndef OPENAPI_RADIUS_H_INCLUDED
39 #define OPENAPI_RADIUS_H_INCLUDED
46 OPEN_RADIUS_SERVER_ENTRY_TYPE_PRIMARY = 1,
47 OPEN_RADIUS_SERVER_ENTRY_TYPE_SECONDARY = 2,
open_error_t openapiRadiusAuthServerAttribute4Set(openapiClientHandle_t *client_handle, OPEN_BOOL_t mode, open_inet_addr_t *ipAddr)
Set the RADIUS authentication server attribute 4 value.
open_error_t openapiRadiusAuthServerSharedSecretEncryptedSet(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, open_buffdesc *encryptedSecret)
Set the shared secret being used between the RADIUS client and the RADIUS server. ...
open_error_t openapiRadiusAuthServerAttribute4Get(openapiClientHandle_t *client_handle, OPEN_BOOL_t *mode, open_inet_addr_t *ipAddr)
Get the RADIUS authentication server attribute 4 value.
open_error_t openapiRadiusAuthServerTypeSet(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType, OPEN_RADIUS_SERVER_ENTRY_TYPE_t serverType)
Set the RADIUS authentication server type.
OPEN_RADIUS_SERVER_ENTRY_TYPE_t
Designates a server as primary or secondary.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiRadiusAuthServerAdd(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType, open_buffdesc *serverName)
Add a RADIUS authentication server.
uint32_t openapiRadiusServerNameMaxLengthGet(openapiClientHandle_t *client_handle)
Get the maximum size allowed for the RADIUS servers name parameter.
open_error_t openapiRadiusAuthServerTypeGet(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType, OPEN_RADIUS_SERVER_ENTRY_TYPE_t *serverType)
Get the RADIUS authentication server type.
open_error_t openapiRadiusAuthServerPortNumSet(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType, uint32_t portNumber)
Set the RADIUS authentication server port number.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
uint32_t openapiRadiusServerAddressMaxLengthGet(openapiClientHandle_t *client_handle)
Get the maximum size allowed for the RADIUS servers address parameter.
uint32_t openapiRadiusSharedSecretMaxLengthGet(openapiClientHandle_t *client_handle)
Get the maximum size allowed for the RADIUS shared secret.
OPEN_IP_ADDRESS_TYPE_t
OpEN uses this enumeration to define IP address types.
uint32_t openapiRadiusEncryptedSharedSecretSizeGet(openapiClientHandle_t *client_handle)
Get the size for an encrypted RADIUS shared secret.
open_error_t openapiRadiusAuthServerRemove(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType)
Remove a RADIUS authentication server.
open_error_t openapiRadiusAuthServerPortNumGet(openapiClientHandle_t *client_handle, open_buffdesc *serverAddress, OPEN_IP_ADDRESS_TYPE_t addressType, uint32_t *portNumber)
Get the RADIUS authentication server port number.