NAME

dce_svc_log_open - Opens binary log file

SYNOPSIS

#include <dce/dce.h>
#include <pthread.h>
#include <dce/svclog.h>

void dce_svc_log_open( const char *name, dce_svc_log_handle_t *handle, error_status_t *status);

PARAMETERS

Input

name
The pathname of the logfile to be opened.

Output

handle
A filled-in handle to the opened logfile specified by name.

status
Returns 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_log_open() routine opens the binary log file specified by name for reading. If the call is successful, handle is filled in with a handle to be used with the other dce_svc_log_ calls. On error, status will contain an error code.

ERROR CODES

See: dce_svc_register(3dce)
.

RELATED INFORMATION

Functions: dce_svc_log_close(3dce), dce_svc_log_get(3dce), dce_svc_log_rewind(3dce).


© 1990-1996, Transarc Corporation