summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_enroll.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: irm: Bind IPCP name to IPCP-ISander Vrijders2016-10-261-1/+4
| | | | | | This will invoke the bind operation when using the irm tool to create a new IPCP. The new IPCP will be bound to the IPCP name as specified by the administrator.
* build: Compile with strict conversiondimitri staessens2016-10-221-1/+1
| | | | | This has the code checked with -Wcast-qual and -Wconversion flags. These flags were removed because SWIG generated code fails.
* tools: Fix memleak in irm_ipcp_enrolldimitri staessens2016-08-251-2/+5
|
* tools: Fix segmentation faultsdimitri staessens2016-08-221-2/+3
| | | | | The apis parameter is not set if the IRMd is not running when running the tool.
* 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