CLI: Enable automatic references to modules.
* Pass module to ast_cli_register and ast_cli_register_multiple. * Add a module reference before executing any CLI callback, remove the reference when complete. ASTERISK-25049 #close Reported by: Corey Farrell Change-Id: I7aafc7c9f2b912918f28fe51d51e9e8a755750e3
Showing
- include/asterisk/cli.h 8 additions, 3 deletionsinclude/asterisk/cli.h
- main/cli.c 14 additions, 17 deletionsmain/cli.c
- res/res_clioriginate.c 0 additions, 8 deletionsres/res_clioriginate.c
- res/res_convert.c 0 additions, 5 deletionsres/res_convert.c
- utils/ael_main.c 2 additions, 2 deletionsutils/ael_main.c
- utils/clicompat.c 2 additions, 2 deletionsutils/clicompat.c
- utils/conf2ael.c 2 additions, 2 deletionsutils/conf2ael.c
Loading
Please register or sign in to comment