From 61a7962866886dff93f29bee45007dbdac26199a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Dec 2008 18:13:04 +0100 Subject: Allow pre-processor pasting of plugin name --- doc/plugin-api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/plugin-api.txt b/doc/plugin-api.txt index baaea307..e329ced7 100644 --- a/doc/plugin-api.txt +++ b/doc/plugin-api.txt @@ -4,6 +4,7 @@ Plugin programming interface Plugin basics ============= + The Connection Manager supports plugins for various actions. The basic plugin contains of plugin description via CONNMAN_PLUGIN_DEFINE and also init/exit callbacks definied through that description. @@ -19,5 +20,5 @@ static void example_exit(void) { } -CONNMAN_PLUGIN_DEFINE("example", "Example plugin", VERSION, +CONNMAN_PLUGIN_DEFINE(example, "Example plugin", VERSION, example_init, example_exit) -- cgit v1.2.3