30 #include "cmdhandler.h" 34 #include "clientpipe.h" 39 static const char *module_str =
"zonelist_export_cmd";
53 "Export list of zones from the database to the zonelist.xml file.\n\n" 58 run(
int sockfd, cmdhandler_ctx_type* context,
const char *cmd)
91 "zonelist export", &usage, &help, NULL, &run
const char * zonelist_filename
engine_type * getglobalcontext(cmdhandler_ctx_type *context)
struct cmd_func_block zonelist_export_funcblock
db_connection_t * getconnectioncontext(cmdhandler_ctx_type *context)
#define ZONELIST_EXPORT_OK
engineconfig_type * config
int zonelist_export(int sockfd, db_connection_t *connection, const char *filename, int comment)