| 8673 | |
| 8674 | |
| 8675 | static bool get_new_dpb(ClumpletWriter& dpb, const ParametersSet& par, bool loopback) |
| 8676 | { |
| 8677 | /************************************** |
| 8678 | * |
| 8679 | * g e t _ n e w _ d p b |
| 8680 | * |
| 8681 | ************************************** |
| 8682 | * |
| 8683 | * Functional description |
| 8684 | * Fetch user_string out of dpb. |
| 8685 | * Analyze and prepare dpb for attachment to remote server. |
| 8686 | * |
| 8687 | **************************************/ |
| 8688 | bool redirection = Config::getRedirection(); |
| 8689 | if (((loopback || !redirection) && dpb.find(par.address_path)) || dpb.find(par.map_attach)) |
| 8690 | { |
| 8691 | status_exception::raise(Arg::Gds(isc_unavailable)); |
| 8692 | } |
| 8693 | |
| 8694 | return dpb.find(par.user_name); |
| 8695 | } |
| 8696 | |
| 8697 | |
| 8698 | static void info(CheckStatusWrapper* status, |