107 for (i = 1; i <= x->
argc; i++) {
116 &afw_s_a_undefined_as_string, x->
xctx);
166 for (i = 1; i <= x->
argc; i++) {
175 &afw_s_a_undefined_as_string, x->
xctx);
237 for (i = 2; i <= x->
argc; i++) {
246 &afw_s_a_undefined_as_string, x->
xctx);
307 for (i = 2; i <= x->
argc; i++) {
404 if (x->
xctx->stream_anchor && x->
xctx->stream_anchor->last_stream_error)
407 x->
xctx->stream_anchor->last_stream_error,
493 &streamId->internal, x->
xctx);
501 &streamId->internal, &path->internal, &mode->internal,
502 autoFlush && autoFlush->internal, x->
p, x->
xctx);
Adaptive Framework Core API.
afw_value_create_integer(afw_integer_t internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for unmanaged data type integer value.
afw_value_create_string(const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for unmanaged data type string value.
#define AFW_UTF8_FMT_ARG(A_STRING)
Convenience Macro for use with AFW_UTF8_FMT to specify arg.
#define AFW_UTF8_FMT
Format string specifier used for afw_utf8_t.
apr_size_t afw_size_t
size_t.
apr_int64_t afw_integer_t
typedef for big signed int.
#define AFW_THROW_ERROR_FZ(code, xctx, format_z,...)
Macro used to set error and 0 rv in xctx and throw it.
#define AFW_THROW_ERROR_Z(code, message_z, xctx)
Macro used to set error and 0 rv in xctx and throw it.
#define AFW_FUNCTION_EVALUATE_DATA_TYPE_PARAMETER(A_RESULT, A_N, A_TYPE)
Evaluate an arg for a particular data type.
#define AFW_FUNCTION_EVALUATE_REQUIRED_DATA_TYPE_PARAMETER(A_RESULT, A_N, A_TYPE)
Evaluate an arg for a particular data type.
#define AFW_FUNCTION_EVALUATE_PARAMETER(A_RESULT, A_N)
Evaluate a parameter.
const afw_value_t * afw_function_execute_read(afw_function_execute_t *x)
Adaptive Function read
const afw_value_t * afw_function_execute_flush(afw_function_execute_t *x)
Adaptive Function flush
const afw_value_t * afw_function_execute_close(afw_function_execute_t *x)
Adaptive Function close
const afw_value_t * afw_function_execute_readln(afw_function_execute_t *x)
Adaptive Function readln
const afw_value_t * afw_function_execute_open_response(afw_function_execute_t *x)
Adaptive Function open_response
const afw_value_t * afw_function_execute_write(afw_function_execute_t *x)
Adaptive Function write
const afw_value_t * afw_function_execute_read_to_base64Binary(afw_function_execute_t *x)
Adaptive Function read_to_base64Binary
const afw_value_t * afw_function_execute_open_uri(afw_function_execute_t *x)
Adaptive Function open_uri
const afw_value_t * afw_function_execute_get_stream_error(afw_function_execute_t *x)
Adaptive Function get_stream_error
const afw_value_t * afw_function_execute_print(afw_function_execute_t *x)
Adaptive Function print
const afw_value_t * afw_function_execute_writeln(afw_function_execute_t *x)
Adaptive Function writeln
const afw_value_t * afw_function_execute_stream(afw_function_execute_t *x)
Adaptive Function stream
const afw_value_t * afw_function_execute_write_internal(afw_function_execute_t *x)
Adaptive Function write_internal
const afw_value_t * afw_function_execute_read_to_hexBinary(afw_function_execute_t *x)
Adaptive Function read_to_hexBinary
const afw_value_t * afw_function_execute_println(afw_function_execute_t *x)
Adaptive Function println
const afw_value_t * afw_function_execute_open_file(afw_function_execute_t *x)
Adaptive Function open_file
#define afw_stream_write(instance, buffer, size, xctx)
Call method write of interface afw_stream.
#define afw_stream_flush(instance, xctx)
Call method flush of interface afw_stream.
#define afw_stream_release(instance, xctx)
Call method release of interface afw_stream.
afw_stream_get_by_streamNumber(const afw_integer_t streamNumber, afw_xctx_t *xctx)
Get stream by streamNumber.
#define afw_stream_write_eol(writer, xctx)
Write eol char to stream.
afw_stream_set(const afw_stream_t *stream, afw_xctx_t *xctx)
Set an opening stream and get its streamNumber.
#define afw_stream_write_z(writer, s_z, xctx)
Call afw_stream_write() with zero terminated string.
afw_stream_get_streamNumber_for_streamId(const afw_utf8_t *streamId, afw_xctx_t *xctx)
Get streamNumber for streamId.
#define afw_stream_write_utf8(writer, S, xctx)
Call afw_stream_write() with a afw_utf8_t string.
#define afw_stream_standard(enum_suffix, xctx)
Get xctx stream instance.
const afw_stream_t * afw_stream_fd_open_and_create(const afw_utf8_t *streamId, const afw_utf8_t *path, const afw_utf8_t *mode, afw_boolean_t auto_flush, const afw_pool_t *p, afw_xctx_t *xctx)
Open a file and create a stream for it.
const afw_stream_t * afw_utf8_stream_create(const afw_utf8_t *streamId, const afw_pool_t *p, afw_xctx_t *xctx)
Create UTF-8 stream.
afw_value_convert_to_string(const afw_value_t *value, afw_boolean_t allow_undefined, const afw_pool_t *p, afw_xctx_t *xctx)
Convert a value to a string value.
#define AFW_VALUE_INTERNAL(_VALUE_)
Macro to get const void * of the internal of a value.
afw_value_null
Adaptive value null.
Function execute parameter.
afw_xctx_t * xctx
The execution context (xctx) of caller.
const afw_pool_t * p
Pool for result.
afw_size_t argc
This is the argv count not counting argv[0].
Interface afw_stream public struct.
NFC normalized UTF-8 string.
struct for data type boolean values.
struct for data type integer values.
Interface afw_value public struct.
struct for data type string values.