|
Modules |
| | Channels |
| | The application connectivity API.
|
| | Database |
| | Read/Write profiles, plugins, edges...
|
| | Profile configuration |
| | Informations for building or reading network profiles.
|
| | Configuration User Interface |
| | UI for profile edition.
|
Errors |
| #define | ALP_CNC_CONNECT_CUSTOM_STATUS(status, plugin, suberr) (((status) & 0xFFFF0000) | plugin | suberr) |
| #define | ALP_CNC_CONNECT_GENERIC_STATUS(suberr) ALP_CNC_CONNECT_STATUS(0, suberr) |
| #define | ALP_CNC_CONNECT_STATUS(plugin, suberr) (ALP_STATUS_CNC_CONNECT_FAILED| plugin | suberr) |
| #define | ALP_STATUS_CNC_CANCELLED ((alp_status_t) (ALP_CLASS_CNC | 0x00230000)) |
| | Connection cancelled.
|
| #define | ALP_STATUS_CNC_COMMUNICATION ((alp_status_t) (ALP_CLASS_CNC | 0x000D0000)) |
| | Cannot communicate with the Connection Manager server.
|
| #define | ALP_STATUS_CNC_CONNECT_AUTHENTICATION 0x0400 |
| | Authentication error.
|
| #define | ALP_STATUS_CNC_CONNECT_BUSY 0x0700 |
| | Device or resource not available.
|
| #define | ALP_STATUS_CNC_CONNECT_CANCELLED 0x1000 |
| | Connection cancelled.
|
| #define | ALP_STATUS_CNC_CONNECT_FAILED ((alp_status_t) (ALP_CLASS_CNC | 0x00800000)) |
| | Connection failed (see connection sub-error codes).
|
| #define | ALP_STATUS_CNC_CONNECT_FATAL_ERROR 0x0100 |
| | Only returned by the connect() call in case cncd has crashed: (Tips = soft reset).
|
| #define | ALP_STATUS_CNC_CONNECT_GENERIC_ERROR 0x0000 |
| | Generic connection error.
|
| #define | ALP_STATUS_CNC_CONNECT_INVALID_PROFILE 0x0200 |
| | Invalid profile (some parameters have bad values).
|
| #define | ALP_STATUS_CNC_CONNECT_MEMORY 0x0300 |
| | Out of memory.
|
| #define | ALP_STATUS_CNC_CONNECT_MISSING_PARAMETER 0x0D00 |
| | The profile does not define a mandatory parameter.
|
| #define | ALP_STATUS_CNC_CONNECT_NO_CONNECTION 0x0E00 |
| | No profile for the connection.
|
| #define | ALP_STATUS_CNC_CONNECT_NO_MORE_CHANNEL 0x0800 |
| | No more channel available.
|
| #define | ALP_STATUS_CNC_CONNECT_NO_UI_MODE 0x0F00 |
| | Operation requires UI display but is not allowed to.
|
| #define | ALP_STATUS_CNC_CONNECT_NOT_SUPPORTED 0x0500 |
| | Device or protocol not supported.
|
| #define | ALP_STATUS_CNC_CONNECT_SERVER_FAILED 0x0B00 |
| | A server did not respond a request (e.g. DHCP or VPN server).
|
| #define | ALP_STATUS_CNC_CONNECT_SETUP_FAILED 0x0A00 |
| | Configuration of a device / protocol fails.
|
| #define | ALP_STATUS_CNC_CONNECT_TIMEOUT 0x0C00 |
| | The connection process timed out.
|
| #define | ALP_STATUS_CNC_CONNECT_UNAVAILABLE 0x0900 |
| | Network unvailable.
|
| #define | ALP_STATUS_CNC_CONNECT_UNPLUGGED 0x0600 |
| | Device unplugged.
|
| #define | ALP_STATUS_CNC_DATABASE ((alp_status_t) (ALP_CLASS_CNC | 0x000C0000)) |
| | The Connection manager database cannot be written/read.
|
| #define | ALP_STATUS_CNC_INDEX_OUT_OF_RANGE ((alp_status_t) (ALP_CLASS_CNC | 0x000B0000)) |
| | The item referenced by the index does not exist.
|
| #define | ALP_STATUS_CNC_INVALID_OBJECT ((alp_status_t) (ALP_CLASS_CNC | 0x000F0000)) |
| | Operation not allowed in this object.
|
| #define | ALP_STATUS_CNC_INVALID_PARAM ((alp_status_t) (ALP_CLASS_CNC | 0x00010000)) |
| | Invalid paremeter in a function call.
|
| #define | ALP_STATUS_CNC_INVALID_PLUGIN_MODULE ((alp_status_t) (ALP_CLASS_CNC | 0x00040000)) |
| | The plug-in module cannot be loaded.
|
| #define | ALP_STATUS_CNC_IOCTL_FAILED ((alp_status_t) (ALP_CLASS_CNC | 0x001D0000)) |
| | An IOCTL call failed.
|
| #define | ALP_STATUS_CNC_MANDATORY_PARAMETER_NOT_FOUND ((alp_status_t) (ALP_CLASS_CNC | 0x00110000)) |
| | A required parameter is not given.
|
| #define | ALP_STATUS_CNC_MEMORY ((alp_status_t) (ALP_CLASS_CNC | 0x00050000)) |
| | Out of memory.
|
| #define | ALP_STATUS_CNC_MODULE_ERROR ((alp_status_t) (ALP_CLASS_CNC | 0x000E0000)) |
| | The module exists but fails to initialize.
|
| #define | ALP_STATUS_CNC_NO_PLUGIN_FORM ((alp_status_t) (ALP_CLASS_CNC | 0x00130000)) |
| | The plug-in does not expose UI.
|
| #define | ALP_STATUS_CNC_NO_UI_MODE ((alp_status_t) (ALP_CLASS_CNC | 0x00240000)) |
| | Operation requires UI display but is not allowed to.
|
| #define | ALP_STATUS_CNC_NON_AUTHORIZED ((alp_status_t) (ALP_CLASS_CNC | 0x00220000)) |
| | Function call by the current process is not allowed.
|
| #define | ALP_STATUS_CNC_NOT_IMPLEMENTED ((alp_status_t) (ALP_CLASS_CNC | 0x00060000)) |
| | For future release.
|
| #define | ALP_STATUS_CNC_OBJECT_ALREADY_EXISTS ((alp_status_t) (ALP_CLASS_CNC | 0x00100000)) |
| | The name of the object already exist in the database.
|
| #define | ALP_STATUS_CNC_OBJECT_FULL ((alp_status_t) (ALP_CLASS_CNC | 0x000A0000)) |
| | Too much items in an object.
|
| #define | ALP_STATUS_CNC_OBJECT_IN_USE ((alp_status_t) (ALP_CLASS_CNC | 0x00160000)) |
| | The objet is already used by another application.
|
| #define | ALP_STATUS_CNC_OBJECT_NOT_FOUND ((alp_status_t) (ALP_CLASS_CNC | 0x00070000)) |
| | The object referenced by ID or name does not exist.
|
| #define | ALP_STATUS_CNC_OBJECT_TABLE_FULL ((alp_status_t) (ALP_CLASS_CNC | 0x00030000)) |
| | Too much objects locked in a session.
|
| #define | ALP_STATUS_CNC_OPEN_FAILED ((alp_status_t) (ALP_CLASS_CNC | 0x00020000)) |
| | A mandatory file/device cannot be open.
|
| #define | ALP_STATUS_CNC_PARAMETER_BAD_VALUE ((alp_status_t) (ALP_CLASS_CNC | 0x001C0000)) |
| | A profile parameter has a value out of the expected range.
|
| #define | ALP_STATUS_CNC_PARAMETER_SIZE_OVERFLOW ((alp_status_t) (ALP_CLASS_CNC | 0x001B0000)) |
| | A string or binary profile parameter is too big.
|
| #define | ALP_STATUS_CNC_PARAMETER_TYPE_MISMATCHED ((alp_status_t) (ALP_CLASS_CNC | 0x001A0000)) |
| | A profile parameter has not the required type.
|
| #define | ALP_STATUS_CNC_PROFILE_UNAVAILABLE ((alp_status_t) (ALP_CLASS_CNC | 0x00210000)) |
| | Profile in unavailable (on connection).
|
| #define | ALP_STATUS_CNC_PROFILE_UNUSABLE ((alp_status_t) (ALP_CLASS_CNC | 0x00200000)) |
| | Profile in unusable (on connection).
|
| #define | ALP_STATUS_CNC_READ_ONLY_OBJECT ((alp_status_t) (ALP_CLASS_CNC | 0x00190000)) |
| | The object cannot be altered.
|
| #define | ALP_STATUS_CNC_RESOURCE_ERROR ((alp_status_t) (ALP_CLASS_CNC | 0x001F0000)) |
| | Unable to retrieve a resource.
|
| #define | ALP_STATUS_CNC_SHELLCMD_FAILED ((alp_status_t) (ALP_CLASS_CNC | 0x001E0000)) |
| | A shell command failed.
|
| #define | ALP_STATUS_CNC_UNDELETABLE_OBJECT ((alp_status_t) (ALP_CLASS_CNC | 0x00180000)) |
| | The object cannot be deleted.
|
Plugin errors |
| #define | ALP_STATUS_CNC_ETHERNET_ALREADY_IN_USE ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_ETHERNET, ALP_STATUS_CNC_CONNECT_BUSY) |
| #define | ALP_STATUS_CNC_ETHERNET_GENERIC ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_ETHERNET, ALP_STATUS_CNC_CONNECT_GENERIC_ERROR) |
| #define | ALP_STATUS_CNC_ETHERNET_UNPLUGGED ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_ETHERNET, ALP_STATUS_CNC_CONNECT_UNPLUGGED) |
| #define | ALP_STATUS_CNC_PLUGIN_BLUETOOTH ((alp_status_t) (0x0B)) |
| | Bluetooth plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_ETHERNET ((alp_status_t) (0x02)) |
| | Ethernet plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_IPIF ((alp_status_t) (0x01)) |
| | IPIF plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_IPIF_IN ((alp_status_t) (0x0F)) |
| | IPIFIN plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_IPSEC ((alp_status_t) (0x06)) |
| | IPSEC plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_L2TP ((alp_status_t) (0x07)) |
| | L2TP plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_NET_ACCESS ((alp_status_t) (0x08)) |
| | NetAccess plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_NET_IN ((alp_status_t) (0x0E)) |
| | NetIn plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_NET_PEER ((alp_status_t) (0x0D)) |
| | NetPeer plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_PHONE ((alp_status_t) (0x0A)) |
| | Phone plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_PPP ((alp_status_t) (0x03)) |
| | PPP plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_SERIAL ((alp_status_t) (0x04)) |
| | Serial plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_TUN_IP ((alp_status_t) (0x09)) |
| | TunIP plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_USB ((alp_status_t) (0x10)) |
| | Ethernet plugin error for USB link.
|
| #define | ALP_STATUS_CNC_PLUGIN_VPN ((alp_status_t) (0x05)) |
| | VPN plugin error.
|
| #define | ALP_STATUS_CNC_PLUGIN_WIFI ((alp_status_t) (0x0C)) |
| | Wifi plugin error.
|
| #define | ALP_STATUS_CNC_PPP_BAD_PASSWORD ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_PPP, ALP_STATUS_CNC_CONNECT_AUTHENTICATION) |
| #define | ALP_STATUS_CNC_PPP_GENERIC ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_PPP, ALP_STATUS_CNC_CONNECT_GENERIC_ERROR) |
| #define | ALP_STATUS_CNC_PPP_INVALID_PROFILE ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_PPP, ALP_STATUS_CNC_CONNECT_INVALID_PROFILE) |
| #define | ALP_STATUS_CNC_USB_ALREADY_IN_USE ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_USB, ALP_STATUS_CNC_CONNECT_BUSY) |
| #define | ALP_STATUS_CNC_USB_GENERIC ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_USB, ALP_STATUS_CNC_CONNECT_GENERIC_ERROR) |
| #define | ALP_STATUS_CNC_USB_UNPLUGGED ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_USB, ALP_STATUS_CNC_CONNECT_UNPLUGGED) |
| #define | ALP_STATUS_CNC_WIFI_ACCESS_POINT_NOT_FOUND ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_WIFI, ALP_STATUS_CNC_CONNECT_TIMEOUT) |
| #define | ALP_STATUS_CNC_WIFI_ATHENTICATION_FAILED ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_WIFI, ALP_STATUS_CNC_CONNECT_AUTHENTICATION) |
| #define | ALP_STATUS_CNC_WIFI_CONNECT_ACCESS_POINT_FAILED ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_WIFI, ALP_STATUS_CNC_CONNECT_SERVER_FAILED) |
| #define | ALP_STATUS_CNC_WIFI_CONNECTION_FAILED ALP_STATUS_CNC_WIFI_GENERIC |
| #define | ALP_STATUS_CNC_WIFI_GENERIC ALP_CNC_CONNECT_STATUS(ALP_STATUS_CNC_PLUGIN_PPP, ALP_STATUS_CNC_CONNECT_GENERIC_ERROR) |
Defines |
| #define | ALP_CNC_INVALID_RECORD_ID 0 |
| | Invalid object Id.
|
Typedefs |
| typedef _AlpCncSession | AlpCncSession |
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.