* In summary, a user registers an upgrade callback per module. The callback is called at startup if the module is added, has been removed or if the revision on file is different from the one in the system. * The register function has removed `from` and `rev` parameters: `upgrade_callback_register(h, cb, namespace, arg)` * The callback function has a new `op` parameter with possible values: `XML_FLAG_ADD`, `XML_FLAG_CHANGE` or `XML_FLAG_CHANGE`: `clicon_upgrade_cb(h, xn, ns, op, from, to, arg, cbret)` |
||
|---|---|---|
| .. | ||
| backend_client.c | ||
| backend_client.h | ||
| backend_commit.c | ||
| backend_commit.h | ||
| backend_handle.h | ||
| backend_main.c | ||
| backend_plugin.c | ||
| backend_plugin.h | ||
| backend_socket.c | ||
| backend_socket.h | ||
| backend_startup.c | ||
| backend_startup.h | ||
| clixon_backend.h | ||
| clixon_backend_handle.c | ||
| clixon_backend_handle.h | ||
| clixon_backend_transaction.c | ||
| clixon_backend_transaction.h | ||
| Makefile.in | ||