mco_lews_append_int

Prototype

    MCO_RET mco_lews_append_int(lews_connection_context_h client_ctx_handle, int val);

Arguments

client_ctx_handle
The connection context handle.
val
A number to be appended.

Description

mco_lews_append_int() appends the string representation of an integer number to the outgoing buffer. If the buffer space is insufficient, it is freed by sending out the accumulated content.

Return Codes

MCO_S_OK
No errors.
MCO_E_NW_SENDERR
Error occurred while sending the response.

Files

Header file:
mcoewslite.h
Source file:
mcoewslite.c
Library:
mcoewslite.a