Groonga 3.0.9 Source Code Document
|
Go to the source code of this file.
Macros | |
#define | GRN_PLUGIN_INIT grn_plugin_impl_init |
#define | GRN_PLUGIN_REGISTER grn_plugin_impl_register |
#define | GRN_PLUGIN_FIN grn_plugin_impl_fin |
#define | GRN_PLUGIN_EXPORT |
#define | GRN_PLUGIN_MALLOC(ctx, size) grn_plugin_malloc((ctx), (size), __FILE__, __LINE__, __FUNCTION__) |
#define | GRN_PLUGIN_REALLOC(ctx, ptr, size) grn_plugin_realloc((ctx), (ptr), (size), __FILE__, __LINE__, __FUNCTION__) |
#define | GRN_PLUGIN_FREE(ctx, ptr) grn_plugin_free((ctx), (ptr), __FILE__, __LINE__, __FUNCTION__) |
#define | GRN_PLUGIN_LOG(ctx, level,...) GRN_LOG((ctx), (level), __VA_ARGS__) |
#define | GRN_PLUGIN_SET_ERROR(ctx, level, error_code,...) |
#define | GRN_PLUGIN_ERROR(ctx, error_code,...) GRN_PLUGIN_SET_ERROR(ctx, GRN_LOG_ERROR, error_code, __VA_ARGS__) |
Typedefs | |
typedef struct _grn_plugin_mutex | grn_plugin_mutex |
#define GRN_PLUGIN_ERROR | ( | ctx, | |
error_code, | |||
... | |||
) | GRN_PLUGIN_SET_ERROR(ctx, GRN_LOG_ERROR, error_code, __VA_ARGS__) |
#define GRN_PLUGIN_FREE | ( | ctx, | |
ptr | |||
) | grn_plugin_free((ctx), (ptr), __FILE__, __LINE__, __FUNCTION__) |
#define GRN_PLUGIN_LOG | ( | ctx, | |
level, | |||
... | |||
) | GRN_LOG((ctx), (level), __VA_ARGS__) |
#define GRN_PLUGIN_MALLOC | ( | ctx, | |
size | |||
) | grn_plugin_malloc((ctx), (size), __FILE__, __LINE__, __FUNCTION__) |
#define GRN_PLUGIN_REALLOC | ( | ctx, | |
ptr, | |||
size | |||
) | grn_plugin_realloc((ctx), (ptr), (size), __FILE__, __LINE__, __FUNCTION__) |
#define GRN_PLUGIN_SET_ERROR | ( | ctx, | |
level, | |||
error_code, | |||
... | |||
) |
typedef struct _grn_plugin_mutex grn_plugin_mutex |
GRN_API int grn_plugin_charlen | ( | grn_ctx * | ctx, |
const char * | str_ptr, | ||
unsigned int | str_length, | ||
grn_encoding | encoding | ||
) |
GRN_PLUGIN_EXPORT grn_rc GRN_PLUGIN_FIN | ( | grn_ctx * | ctx | ) |
GRN_PLUGIN_EXPORT grn_rc GRN_PLUGIN_INIT | ( | grn_ctx * | ctx | ) |
GRN_API int grn_plugin_isspace | ( | grn_ctx * | ctx, |
const char * | str_ptr, | ||
unsigned int | str_length, | ||
grn_encoding | encoding | ||
) |
GRN_API void grn_plugin_logtrace | ( | grn_ctx * | ctx, |
grn_log_level | level | ||
) |
GRN_API void grn_plugin_mutex_close | ( | grn_ctx * | ctx, |
grn_plugin_mutex * | mutex | ||
) |
GRN_API grn_plugin_mutex* grn_plugin_mutex_create | ( | grn_ctx * | ctx | ) |
GRN_API void grn_plugin_mutex_destroy | ( | grn_ctx * | ctx, |
grn_plugin_mutex * | mutex | ||
) |
GRN_API void grn_plugin_mutex_lock | ( | grn_ctx * | ctx, |
grn_plugin_mutex * | mutex | ||
) |
GRN_API grn_plugin_mutex* grn_plugin_mutex_open | ( | grn_ctx * | ctx | ) |
GRN_API void grn_plugin_mutex_unlock | ( | grn_ctx * | ctx, |
grn_plugin_mutex * | mutex | ||
) |
GRN_API grn_obj* grn_plugin_proc_alloc | ( | grn_ctx * | ctx, |
grn_user_data * | user_data, | ||
grn_id | domain, | ||
grn_obj_flags | flags | ||
) |
GRN_PLUGIN_EXPORT grn_rc GRN_PLUGIN_REGISTER | ( | grn_ctx * | ctx | ) |
GRN_API void grn_plugin_set_error | ( | grn_ctx * | ctx, |
grn_log_level | level, | ||
grn_rc | error_code, | ||
const char * | file, | ||
int | line, | ||
const char * | func, | ||
const char * | format, | ||
... | |||
) |