Package com.osohq.oso
Interface Ffi.PolarLib
-
- Enclosing class:
- Ffi
protected static interface Ffi.PolarLib
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ffi.CResultVoid
polar_application_error(jnr.ffi.Pointer query_ptr, String message)
Ffi.CResultVoid
polar_bind(jnr.ffi.Pointer query_ptr, String name, String value)
Ffi.CResultVoid
polar_call_result(jnr.ffi.Pointer query_ptr, long call_id, String value)
Ffi.CResultVoid
polar_clear_rules(jnr.ffi.Pointer polar_ptr)
Ffi.CResultVoid
polar_debug_command(jnr.ffi.Pointer query_ptr, String value)
int
polar_free(jnr.ffi.Pointer polar)
long
polar_get_external_id(jnr.ffi.Pointer polar_ptr)
Ffi.CResultVoid
polar_load(jnr.ffi.Pointer polar_ptr, String sources)
jnr.ffi.Pointer
polar_new()
Ffi.CResultPointer
polar_new_query(jnr.ffi.Pointer polar_ptr, String query_str, int trace)
Ffi.CResultPointer
polar_new_query_from_term(jnr.ffi.Pointer polar_ptr, String query_term, int trace)
jnr.ffi.Pointer
polar_next_inline_query(jnr.ffi.Pointer polar_ptr, int trace)
Ffi.CResultPointer
polar_next_polar_message(jnr.ffi.Pointer polar_ptr)
Ffi.CResultPointer
polar_next_query_event(jnr.ffi.Pointer query_ptr)
Ffi.CResultPointer
polar_next_query_message(jnr.ffi.Pointer query_ptr)
Ffi.CResultPointer
polar_query_from_repl(jnr.ffi.Pointer polar_ptr)
Ffi.CResultPointer
polar_query_source_info(jnr.ffi.Pointer query_ptr)
Ffi.CResultVoid
polar_question_result(jnr.ffi.Pointer query_ptr, long call_id, int result)
Ffi.CResultVoid
polar_register_constant(jnr.ffi.Pointer polar_ptr, String name, String value)
Ffi.CResultVoid
polar_register_mro(jnr.ffi.Pointer polar_ptr, String name, String mro)
int
query_free(jnr.ffi.Pointer query)
int
result_free(jnr.ffi.Pointer r)
int
string_free(jnr.ffi.Pointer s)
-
-
-
Method Detail
-
polar_debug_command
Ffi.CResultVoid polar_debug_command(jnr.ffi.Pointer query_ptr, String value)
-
polar_free
int polar_free(jnr.ffi.Pointer polar)
-
polar_get_external_id
long polar_get_external_id(jnr.ffi.Pointer polar_ptr)
-
polar_load
Ffi.CResultVoid polar_load(jnr.ffi.Pointer polar_ptr, String sources)
-
polar_clear_rules
Ffi.CResultVoid polar_clear_rules(jnr.ffi.Pointer polar_ptr)
-
polar_new
jnr.ffi.Pointer polar_new()
-
polar_new_query
Ffi.CResultPointer polar_new_query(jnr.ffi.Pointer polar_ptr, String query_str, int trace)
-
polar_new_query_from_term
Ffi.CResultPointer polar_new_query_from_term(jnr.ffi.Pointer polar_ptr, String query_term, int trace)
-
polar_next_inline_query
jnr.ffi.Pointer polar_next_inline_query(jnr.ffi.Pointer polar_ptr, int trace)
-
polar_next_query_event
Ffi.CResultPointer polar_next_query_event(jnr.ffi.Pointer query_ptr)
-
polar_query_from_repl
Ffi.CResultPointer polar_query_from_repl(jnr.ffi.Pointer polar_ptr)
-
polar_question_result
Ffi.CResultVoid polar_question_result(jnr.ffi.Pointer query_ptr, long call_id, int result)
-
polar_call_result
Ffi.CResultVoid polar_call_result(jnr.ffi.Pointer query_ptr, long call_id, String value)
-
polar_application_error
Ffi.CResultVoid polar_application_error(jnr.ffi.Pointer query_ptr, String message)
-
query_free
int query_free(jnr.ffi.Pointer query)
-
string_free
int string_free(jnr.ffi.Pointer s)
-
result_free
int result_free(jnr.ffi.Pointer r)
-
polar_register_constant
Ffi.CResultVoid polar_register_constant(jnr.ffi.Pointer polar_ptr, String name, String value)
-
polar_register_mro
Ffi.CResultVoid polar_register_mro(jnr.ffi.Pointer polar_ptr, String name, String mro)
-
polar_next_polar_message
Ffi.CResultPointer polar_next_polar_message(jnr.ffi.Pointer polar_ptr)
-
polar_next_query_message
Ffi.CResultPointer polar_next_query_message(jnr.ffi.Pointer query_ptr)
-
polar_query_source_info
Ffi.CResultPointer polar_query_source_info(jnr.ffi.Pointer query_ptr)
-
polar_bind
Ffi.CResultVoid polar_bind(jnr.ffi.Pointer query_ptr, String name, String value)
-
-