mcorest_create

Create the MCO REST server instance and store its handle in the rest parameter.

For an overview see page Web Services

Prototype

    MCO_RET mcorest_create(const char *db_name, mcorest_h *rest);

Arguments

db_name
The name of the database to bind the server to.
rest
Pointer to receive the server instance handle.

Description

This function creates the MCO REST server instance and stores its handle in the rest parameter.

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