void imap_quota_plugin_deinit(void) { command_unregister("GETQUOTAROOT"); command_unregister("GETQUOTA"); command_unregister("SETQUOTA"); imap_client_created_hook_set(next_hook_client_created); }
void command_unregister_array(const struct command *cmdarr, unsigned int count) { while (count > 0) { command_unregister(cmdarr->name); count--; cmdarr++; } }
static __exit void cd_cmd_exit(void) { if(command_unregister(&cd_cmd)) LOG("Unegister command 'cd'"); else LOG("Failed to unregister command 'cd'"); }
static __exit void version_cmd_exit(void) { if(command_unregister(&version_cmd)) LOG("Unegister command 'version'"); else LOG("Failed to unregister command 'version'"); }
int test_unload (void) { print ("Unloaded test module - version %d.%d", test_info_s.major, test_info_s.minor); command_unregister ("test"); return 0; }
static __exit void go_cmd_exit(void) { if(command_unregister(&go_cmd)) LOG("Unegister command 'go'"); else LOG("Failed to unregister command 'cat'"); }
static __exit void reboot_cmd_exit(void) { if(!command_unregister(&reboot_cmd)) LOG_E("unregister 'reboot' command fail"); }
static __exit void sync_cmd_exit(void) { if(!command_unregister(&sync_cmd)) LOG_E("unregister 'sync' command fail"); }
static __exit void mv_cmd_exit(void) { if(!command_unregister(&mv_cmd)) LOG_E("unregister 'mv' command fail"); }
static __exit void tetris_cmd_exit(void) { if(!command_unregister(&tetris_cmd)) LOG_E("unregister 'tetris' command fail"); }
int plugin_unregister(struct plugin_handle* plugin) { command_unregister(plugin); return 0; }
void push_notify_registration_plugin_deinit (void) { command_unregister("XAPPLEPUSHSERVICE"); imap_client_created_hook_set(next_hook_client_created); }
static __exit void cp_cmd_exit(void) { if(!command_unregister(&cp_cmd)) LOG_E("unregister 'cp' command fail"); }
static __exit void serial_cmd_exit(void) { if(!command_unregister(&serial_cmd)) LOG_E("unregister 'serial' command fail"); }
static __exit void umount_cmd_exit(void) { if(!command_unregister(&umount_cmd)) LOG_E("unregister 'umount' command fail"); }
void imap_xaps_plugin_deinit(void) { imap_client_created_hook_set(next_hook_client_created); command_unregister("XAPPLEPUSHSERVICE"); }
int whois_unload (void) { command_unregister ("whois"); command_unregister ("whoami"); return 0; }
static __exit void pwd_cmd_exit(void) { if(!command_unregister(&pwd_cmd)) LOG_E("unregister 'pwd' command fail"); }
static __exit void go_cmd_exit(void) { if(!command_unregister(&go_cmd)) LOG_E("unregister 'go' command fail"); }
static __exit void rmdir_cmd_exit(void) { if(!command_unregister(&rmdir_cmd)) LOG_E("unregister 'rmdir' command fail"); }
static __exit void memtest_cmd_exit(void) { if(!command_unregister(&memtest_cmd)) LOG_E("unregister 'memtest' command fail"); }
static __exit void luac_cmd_exit(void) { if(!command_unregister(&luac_cmd)) LOG_E("unregister 'luac' command fail"); }
static __exit void fileram_cmd_exit(void) { if(!command_unregister(&fileram_cmd)) LOG_E("unregister 'fileram' command fail"); }
static __exit void probe_cmd_exit(void) { if(!command_unregister(&probe_cmd)) LOG_E("unregister 'probe' command fail"); }
static __exit void console_cmd_exit(void) { if(!command_unregister(&console_cmd)) LOG_E("unregister 'console' command fail"); }
static __exit void version_cmd_exit(void) { if(!command_unregister(&version_cmd)) LOG_E("unregister 'version' command fail"); }
static __exit void exit_cmd_exit(void) { if(!command_unregister(&exit_cmd)) LOG_E("unregister 'exit' command fail"); }