Switch to a plugin model
[src/app-framework-binder.git] / plugins / session / token-api.c
index b6ebb8a..ba6d276 100644 (file)
@@ -94,7 +94,7 @@ STATIC  AFB_restapi pluginApis[]= {
   {NULL}
 };
 
-PUBLIC AFB_plugin *tokenRegister () {
+PUBLIC AFB_plugin *pluginRegister () {
     AFB_plugin *plugin = malloc (sizeof (AFB_plugin));
     plugin->type  = AFB_PLUGIN_JSON; 
     plugin->info  = "Application Framework Binder Service";
@@ -104,4 +104,4 @@ PUBLIC AFB_plugin *tokenRegister () {
     plugin->freeCtxCB= (void*) clientContextFree;
     
     return (plugin);
-};
\ No newline at end of file
+};