| 773 | |
| 774 | |
| 775 | static 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 | |
| 801 | static void print_help() |