clixon/apps/cli
Olof hagsand 79e3fbdaa9 * Restructure and more generic plugin API (cli,backend,restconf,netconf)
* For preparation for authorization RFC8341
  * Plugins add clixon_plugin_init() and api struct for function pointers, eg:
```
static const struct clixon_plugin_api api = {
    "example",
    clixon_plugin_init,
    ...
}
clixon_plugin_api *clixon_plugin_init(clicon_handle h)
{
    return (void*)&api;
}
```
  * Moved specific plugin functions from apps/ to generic functions in lib/
    * New generic plugin load function: clixon_plugins_load()
  * Removed client-local netconf plugins netconf_plugin_callbacks()
    * This was code used before generic YANG rpc calls
  * Added username to clixon handle:
    * clicon_username_get() / clicon_username_set()
  * Added authentication plugin callback
  * Removed some obscure plugin code that seem not to be used (please report if needed!)
    * CLI parse hook
    * CLICON_FIND_PLUGIN
    * clicon_valcb()
* Removed username to rpc calls (added below)
2018-04-02 10:38:53 +02:00
..
cli_common.c * Restructure and more generic plugin API (cli,backend,restconf,netconf) 2018-04-02 10:38:53 +02:00
cli_common.h 2017->2018 2018-01-01 12:25:33 +01:00
cli_generate.c (Work in progress) Restconf error handling for get and edit operations 2018-03-11 20:17:11 +01:00
cli_generate.h 2017->2018 2018-01-01 12:25:33 +01:00
cli_handle.c 2017->2018 2018-01-01 12:25:33 +01:00
cli_handle.h 2017->2018 2018-01-01 12:25:33 +01:00
cli_main.c 2017->2018 2018-01-01 12:25:33 +01:00
cli_plugin.c * Restructure and more generic plugin API (cli,backend,restconf,netconf) 2018-04-02 10:38:53 +02:00
cli_plugin.h * Restructure and more generic plugin API (cli,backend,restconf,netconf) 2018-04-02 10:38:53 +02:00
cli_show.c * Restructure and more generic plugin API (cli,backend,restconf,netconf) 2018-04-02 10:38:53 +02:00
clixon_cli.h 2017->2018 2018-01-01 12:25:33 +01:00
clixon_cli_api.h 2017->2018 2018-01-01 12:25:33 +01:00
Makefile.in 2017->2018 2018-01-01 12:25:33 +01:00