mcorest_interface_close

Shut down the interface.

For an overview see page Web Services

Prototype

    MCO_RET mcorest_interface_close(mcorest_interface_h intf);

Arguments

intf
Interface handle.

Description

This function shuts down the interface. This function must not be called while the server is running in threaded mode (i.e. after the mcorest_start() call and before the mcorest_stop() call). This function should only be called from the same thread that created the interface. The interface must not be closed while it is being used by a different thread.

Return Codes

MCO_S_OK = 0
Success.
MCO_E_REST_*
Any of the Web Services Error Codes.

Files

Header file:
mcorest.h
Source file:
mcorest.c
Library:
libmcorest.a