forked from gkralik/php7-sapnwrfc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rfc_parameters.h
60 lines (50 loc) · 3.53 KB
/
rfc_parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* Copyright (c) 2016 - 2017 Gregor Kralik <g.kralik (at) gmail.com>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* Author: Gregor Kralik <g.kralik (at) gmail.com>
*/
#ifndef _RFC_PARAMETERS_H
#define _RFC_PARAMETERS_H
typedef enum { RFC_SET_VALUE_ERROR, RFC_SET_VALUE_OK} rfc_set_value_return_t;
rfc_set_value_return_t rfc_set_char_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_date_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_time_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_byte_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value, unsigned max);
rfc_set_value_return_t rfc_set_table_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_num_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value, unsigned max);
rfc_set_value_return_t rfc_set_float_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_int_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_int1_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_int2_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_structure_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_string_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_xstring_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, zval *value);
rfc_set_value_return_t rfc_set_table_row(RFC_STRUCTURE_HANDLE row, zval *value, zend_string *param_name);
rfc_set_value_return_t rfc_set_field_value(DATA_CONTAINER_HANDLE, RFC_FIELD_DESC field_desc, zval *value);
rfc_set_value_return_t rfc_set_parameter_value(RFC_FUNCTION_HANDLE function_handle,
RFC_FUNCTION_DESC_HANDLE function_desc_handle,
zend_string *name,
zval *value);
zval rfc_get_char_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, unsigned len, unsigned char rtrim_enabled);
zval rfc_get_date_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_time_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_byte_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, unsigned len);
zval fc_get_table_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, unsigned char rtrim_enabled);
zval rfc_get_num_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, unsigned len);
zval rfc_get_float_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_int_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_int1_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_int2_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_structure_value(DATA_CONTAINER_HANDLE h, SAP_UC *name, unsigned char rtrim_enabled);
zval rfc_get_string_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_xstring_value(DATA_CONTAINER_HANDLE h, SAP_UC *name);
zval rfc_get_table_line(RFC_STRUCTURE_HANDLE line, zend_string *param_name, unsigned char rtrim_enabled);
zval rfc_get_field_value(RFC_STRUCTURE_HANDLE h, RFC_FIELD_DESC field_desc, unsigned char rtrim_enabled);
zval rfc_get_parameter_value(RFC_FUNCTION_HANDLE function_handle,
RFC_FUNCTION_DESC_HANDLE function_desc_handle,
zend_string *name,
unsigned char rtrim_enabled);
#endif /* _RFC_PARAMETERS_H */