|
Groonga 3.0.9 Source Code Document
|
#include "groonga_in.h"#include "groonga/plugin.h"#include <stdarg.h>#include <stdio.h>#include <string.h>#include "db.h"#include "plugin_in.h"#include "ctx_impl.h"#include "util.h"
Go to the source code of this file.
Data Structures | |
| struct | _grn_plugin_mutex |
Macros | |
| #define | PATHLEN(filename) (strlen(filename) + 1) |
| #define | grn_dl_open(filename) LoadLibrary(filename) |
| #define | grn_dl_open_error_label() "LoadLibrary" |
| #define | grn_dl_close(dl) (FreeLibrary(dl) != 0) |
| #define | grn_dl_close_error_label() "FreeLibrary" |
| #define | grn_dl_sym(dl, symbol) ((void *)GetProcAddress(dl, symbol)) |
| #define | grn_dl_sym_error_label() "GetProcAddress" |
| #define | grn_dl_clear_error() |
| #define | GRN_PLUGIN_FUNC_PREFIX "grn_plugin_impl_" |
| #define | GET_SYMBOL(type) |
Functions | |
| grn_id | grn_plugin_reference (grn_ctx *ctx, const char *filename) |
| const char * | grn_plugin_path (grn_ctx *ctx, grn_id id) |
| grn_id | grn_plugin_open (grn_ctx *ctx, const char *filename) |
| grn_rc | grn_plugin_close (grn_ctx *ctx, grn_id id) |
| void * | grn_plugin_sym (grn_ctx *ctx, grn_id id, const char *symbol) |
| grn_rc | grn_plugins_init (void) |
| grn_rc | grn_plugins_fin (void) |
| const char * | grn_plugin_get_suffix (void) |
| grn_rc | grn_plugin_register_by_path (grn_ctx *ctx, const char *path) |
| const char * | grn_plugin_get_system_plugins_dir (void) |
| char * | grn_plugin_find_path (grn_ctx *ctx, const char *name) |
| grn_rc | grn_plugin_register (grn_ctx *ctx, const char *name) |
| void * | grn_plugin_malloc (grn_ctx *ctx, size_t size, const char *file, int line, const char *func) |
| void * | grn_plugin_realloc (grn_ctx *ctx, void *ptr, size_t size, const char *file, int line, const char *func) |
| void | grn_plugin_free (grn_ctx *ctx, void *ptr, const char *file, int line, const char *func) |
| 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,...) |
| void | grn_plugin_backtrace (grn_ctx *ctx) |
| void | grn_plugin_logtrace (grn_ctx *ctx, grn_log_level level) |
| grn_plugin_mutex * | grn_plugin_mutex_open (grn_ctx *ctx) |
| grn_plugin_mutex * | grn_plugin_mutex_create (grn_ctx *ctx) |
| void | grn_plugin_mutex_close (grn_ctx *ctx, grn_plugin_mutex *mutex) |
| void | grn_plugin_mutex_destroy (grn_ctx *ctx, grn_plugin_mutex *mutex) |
| void | grn_plugin_mutex_lock (grn_ctx *ctx, grn_plugin_mutex *mutex) |
| void | grn_plugin_mutex_unlock (grn_ctx *ctx, grn_plugin_mutex *mutex) |
| grn_obj * | grn_plugin_proc_alloc (grn_ctx *ctx, grn_user_data *user_data, grn_id domain, grn_obj_flags flags) |
| const char * | grn_plugin_win32_base_dir (void) |
| int | grn_plugin_charlen (grn_ctx *ctx, const char *str_ptr, unsigned int str_length, grn_encoding encoding) |
| int | grn_plugin_isspace (grn_ctx *ctx, const char *str_ptr, unsigned int str_length, grn_encoding encoding) |
| #define GET_SYMBOL | ( | type | ) |
| #define grn_dl_sym | ( | dl, | |
| symbol | |||
| ) | ((void *)GetProcAddress(dl, symbol)) |
| int grn_plugin_charlen | ( | grn_ctx * | ctx, |
| const char * | str_ptr, | ||
| unsigned int | str_length, | ||
| grn_encoding | encoding | ||
| ) |
| char* grn_plugin_find_path | ( | grn_ctx * | ctx, |
| const char * | name | ||
| ) |
| void grn_plugin_free | ( | grn_ctx * | ctx, |
| void * | ptr, | ||
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) |
| const char* grn_plugin_get_suffix | ( | void | ) |
| const char* grn_plugin_get_system_plugins_dir | ( | void | ) |
| int grn_plugin_isspace | ( | grn_ctx * | ctx, |
| const char * | str_ptr, | ||
| unsigned int | str_length, | ||
| grn_encoding | encoding | ||
| ) |
| void grn_plugin_logtrace | ( | grn_ctx * | ctx, |
| grn_log_level | level | ||
| ) |
| void* grn_plugin_malloc | ( | grn_ctx * | ctx, |
| size_t | size, | ||
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) |
| void grn_plugin_mutex_close | ( | grn_ctx * | ctx, |
| grn_plugin_mutex * | mutex | ||
| ) |
| grn_plugin_mutex* grn_plugin_mutex_create | ( | grn_ctx * | ctx | ) |
| void grn_plugin_mutex_destroy | ( | grn_ctx * | ctx, |
| grn_plugin_mutex * | mutex | ||
| ) |
| void grn_plugin_mutex_lock | ( | grn_ctx * | ctx, |
| grn_plugin_mutex * | mutex | ||
| ) |
| grn_plugin_mutex* grn_plugin_mutex_open | ( | grn_ctx * | ctx | ) |
| void grn_plugin_mutex_unlock | ( | grn_ctx * | ctx, |
| grn_plugin_mutex * | mutex | ||
| ) |
| grn_obj* grn_plugin_proc_alloc | ( | grn_ctx * | ctx, |
| grn_user_data * | user_data, | ||
| grn_id | domain, | ||
| grn_obj_flags | flags | ||
| ) |
| void* grn_plugin_realloc | ( | grn_ctx * | ctx, |
| void * | ptr, | ||
| size_t | size, | ||
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) |
| 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, | ||
| ... | |||
| ) |
| const char* grn_plugin_win32_base_dir | ( | void | ) |
| grn_rc grn_plugins_fin | ( | void | ) |
1.8.1.2