MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / print_config

Function print_config

src/utilities/ibmgr/ibmgr.cpp:775–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773
774
775static void print_config()
776{
777/**************************************
778 *
779 * p r i n t _ c o n f i g
780 *
781 **************************************
782 *
783 * Functional description
784 *
785 **************************************/
786
787 fprintf(OUTFILE, "\nHost:\t%s\nUser:\t%s\n\n", ibmgr_data.host, ibmgr_data.user);
788#ifdef DEBUG
789 fprintf(OUTFILE, "\nReal user:\t%s\nPassword:\t%s\n\n",
790 ibmgr_data.real_user, ibmgr_data.password);
791 fprintf(OUTFILE, "Attached:\t%s\nNew attach:\t%s %s %s\nShutdown:\t%s\n\n",
792 ibmgr_data.attached ? "yes" : "no",
793 ibmgr_data.reattach & REA_HOST ? "HOST" : "no",
794 ibmgr_data.reattach & REA_PASSWORD ? "PASSWORD" : "no",
795 ibmgr_data.reattach & REA_USER ? "USER" : "no",
796 ibmgr_data.shutdown ? "yes" : "no");
797#endif
798}
799
800
801static void print_help()

Callers 1

parse_cmd_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected