design_pattern_for_c
V 1.00
|
This is API name definition for lower layer plugin library lower_layer_builder will load plugin defined this API.
More...
Go to the source code of this file.
Macros | |
#define | LL_BUILDER_SUCCESS (0) |
result code : success More... | |
#define | LL_BUILDER_FAILED (-1) |
result code : error More... | |
#define | LL_BUILDER_NEWNAME "lower_layer_builder_instance_new" |
name definition of plugin interface "new" More... | |
#define | LL_BUILDER_FREENAME "lower_layer_builder_instance_free" |
name definition of plugin interface "free" More... | |
Functions | |
void * | lower_layer_builder_instance_new (void) |
new builder interface More... | |
void | lower_layer_builder_instance_free (void *interfaceClass) |
free builder interface More... | |
This is API name definition for lower layer plugin library lower_layer_builder will load plugin defined this API.
(this API will load by libbuilder.so as dynamic library)
Definition in file lower_layer_builder.h.
#define LL_BUILDER_FAILED (-1) |
result code : error
Definition at line 11 of file lower_layer_builder.h.
#define LL_BUILDER_FREENAME "lower_layer_builder_instance_free" |
name definition of plugin interface "free"
Definition at line 32 of file lower_layer_builder.h.
#define LL_BUILDER_NEWNAME "lower_layer_builder_instance_new" |
name definition of plugin interface "new"
Definition at line 22 of file lower_layer_builder.h.
#define LL_BUILDER_SUCCESS (0) |
result code : success
Definition at line 9 of file lower_layer_builder.h.
void lower_layer_builder_instance_free | ( | void * | interfaceClass | ) |
free builder interface
[in] | interfaceClass | lower plugin interface class instance |
void* lower_layer_builder_instance_new | ( | void | ) |
new builder interface
!=NULL | this lower plugin interface class instance if lower library has it. |
NULL | not implement interface |