Handles results returned from S4.
More...
Handles results returned from S4.
◆ s4_result_create()
Creates a new result.
- Parameters
-
| next | The next result |
| key | The key |
| val | The value |
| src | The source |
- Returns
- A new result
◆ s4_result_free()
◆ s4_result_get_key()
| const char* s4_result_get_key |
( |
const s4_result_t * |
res | ) |
|
Gets the result key.
- Parameters
-
| res | The result to find the key of |
- Returns
- The key of the result
◆ s4_result_get_src()
| const char* s4_result_get_src |
( |
const s4_result_t * |
res | ) |
|
Gets the result source.
- Parameters
-
| res | The result to find the source of |
- Returns
- The source of the result
◆ s4_result_get_val()
Gets the result value.
- Parameters
-
| res | The result to find the value of |
- Returns
- The value of the result
◆ s4_result_next()
Gets the next result.
- Parameters
-
| res | The result to find the next of |
- Returns
- The next result, or NULL if there are no more
Referenced by s4_resultrow_unref().