dce_svc_debug_routing(3dce) — Subroutines
Name
dce_svc_debug_routing − Specifies how debugging messages are routed
Synopsis
#include <dce/dce.h>
#include <dce/svcremote.h> void dce_svc_debug_routing(
unsigned char ∗where,
error_status_t ∗status);
Parameters
Input
whereA four-field routing string, the format of which is described in svcroute(5dce).
Output
statusReturns the status code from this operation. The status code is a value that indicates whether the routine completed successfully and if not, why not.
Description
The dce_svc_debug_routing() routine specifies both the level of an applications’s serviceability debug messaging, and where the messages are routed. The where parameter is a four-field routing string, as described in svcroute(5dce). All four fields are required.
The routine is used to specify the disposition of serviceability debug messages. If called before the component is registered (with dce_svc_register()), the disposition is stored until it is needed. In case of error, the status parameter is filled in with an error code.
To set only the debugging level for a component, use the dce_svc_debug_set_levels() routine.
Errors
The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
See dce_svc_register(3dce).
Related Information
Functions: dce_svc_debug_set_levels(3dce).
Files: svcroute(5dce).