Grid Community Toolkit
6.2.1550507116
|
RSL Constructors. More...
Functions | |
globus_rsl_t * | globus_rsl_make_boolean (int operator, globus_list_t *children) |
RSL boolean constructor. More... | |
globus_rsl_t * | globus_rsl_make_relation (int operator, char *attributename, globus_rsl_value_t *value_sequence) |
RSL relation constructor. More... | |
globus_rsl_value_t * | globus_rsl_value_make_literal (char *string) |
RSL literal constructor. More... | |
globus_rsl_value_t * | globus_rsl_value_make_sequence (globus_list_t *value_list) |
RSL value sequence constructor. More... | |
globus_rsl_value_t * | globus_rsl_value_make_variable (globus_rsl_value_t *sequence) |
RSL variable reference constructor. More... | |
globus_rsl_value_t * | globus_rsl_value_make_concatenation (globus_rsl_value_t *left_value, globus_rsl_value_t *right_value) |
RSL concatenation constructor. More... | |
RSL Constructors.
globus_rsl_t* globus_rsl_make_boolean | ( | int | operator, |
globus_list_t * | children | ||
) |
RSL boolean constructor.
The globus_rsl_make_boolean() function creates a boolean composition of the RSL nodes in the list pointed to by children. The new RSL node which is returned contains a reference to the list, not a copy.
operator | The boolean RSL operator to use to join the RSL parse tree list pointed to by the children parameter. This value must be one of GLOBUS_RSL_AND, GLOBUS_RSL_OR, GLOBUS_RSL_MULTIREQ in order to create a valid RSL tree. |
children | Pointer to a list of RSL syntax trees to combine with the boolean operation described by the operator parameter. |
globus_rsl_t* globus_rsl_make_relation | ( | int | operator, |
char * | attributename, | ||
globus_rsl_value_t * | value_sequence | ||
) |
RSL relation constructor.
The globus_rsl_make_relation() function creates a relation between the attribute named by the attributename parameter and the values pointed to by the value_sequence list. The new RSL relation node which is returned contains a reference to the attributename and value_sequence parameters, not a copy.
operator | The RSL operator to use to relate the RSL attribute name pointed to by the attributename parameter and the values pointed to by the value_sequence parameter. This value must be one of GLOBUS_RSL_EQ, GLOBUS_RSL_NEQ, GLOBUS_RSL_GT, GLOBUS_RSL_GTEQ, GLOBUS_RSL_LT, or GLOBUS_RSL_LTEQ in order to create a valid RSL node. |
attributename | Pointer to a string naming the attribute of the new RSL relation. |
value_sequence | Pointer to a sequence of RSL values to use in the new RSL relation. |
globus_rsl_value_t* globus_rsl_value_make_concatenation | ( | globus_rsl_value_t * | left_value, |
globus_rsl_value_t * | right_value | ||
) |
RSL concatenation constructor.
The globus_rsl_value_make_concatenation() function creates a concatenation of the values pointed to by the left_value and right_value parameters. The new node returned by this function contains a reference to these parameters' values, not a copy.
left_value | A pointer to a RSL value to act as the left side of the concatenation. This must be a string literal or variable reference. |
right_value | A pointer to a RSL value to act as the right side of the concatenation. This must be a string literal or variable reference. |
globus_rsl_value_t* globus_rsl_value_make_literal | ( | char * | string | ) |
RSL literal constructor.
The globus_rsl_value_make_literal() function creates a string literal RSL value node containing the value pointed to by the string parameter. The new RSL value node which is returned contains a reference to the string parameter, not a copy.
string | The literal string to be used in the new value. |
globus_rsl_value_t* globus_rsl_value_make_sequence | ( | globus_list_t * | value_list | ) |
RSL value sequence constructor.
The globus_rsl_value_make_sequence() function creates a value sequence RSL node referring to the values pointed to by the value_list parameter. The new node returned by this function contains a reference to the value_list parameter, not a copy.
value_list | A pointer to a list of globus_rsl_value_t pointers. |
globus_rsl_value_t* globus_rsl_value_make_variable | ( | globus_rsl_value_t * | sequence | ) |
RSL variable reference constructor.
The globus_rsl_value_make_variable() function creates a variable reference RSL node referring to the variable name contained in the value pointed to by sequence parameter. The new node returned by this function contains a reference to the sequence parameter, not a copy.
sequence | A pointer to a RSL value sequnce. |