Switch to a plugin model
[src/app-framework-binder.git] / plugins / samples / SamplePost.c
index 8548501..223f74e 100644 (file)
@@ -165,7 +165,7 @@ STATIC  AFB_restapi pluginApis[]= {
   {NULL}
 };
 
-PUBLIC AFB_plugin *samplePostRegister () {
+PUBLIC AFB_plugin *pluginRegister () {
     AFB_plugin *plugin = malloc (sizeof (AFB_plugin));
     plugin->type  = AFB_PLUGIN_JSON; 
     plugin->info  = "Application Framework Binder Service";
@@ -174,4 +174,4 @@ PUBLIC AFB_plugin *samplePostRegister () {
     plugin->handle= (void*) "What ever you want";
     
     return (plugin);
-};
\ No newline at end of file
+};