summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_enroll.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: irm: Create IPCP upon enroll if unexistingSander Vrijders2016-08-111-2/+8
| | | | | This will create a new IPCP if enroll is called on a non existing IPCP. It also fixes two memleaks.
* lib, irmd, ipcpd: Change of IRM APISander Vrijders2016-06-281-0/+74
This changes the IRM API after discussions with Dimitri. The register operation is now split into a bind and register operation. The same for unregister; unbind and unregister. PIDs are now used as the application instance name. A name for a PID is only provided for scriptability in bash. It is therefore also no longer passed down to the IPCP. Every operation on an IPCP through the IRM API has to use the PID. Quering of the PIDs by name is possible. The IRM tool has been updated to use this new API as well. A subcommand 'ipcp' has been added for operations that take effect on IPCPs only. Fixes #12