#include "plugins.h"
#include <stdlib.h>
#include "general.h"
char plugin_name[] = "First plugin";
char plugin_description[]= "Plugin that shows how plugin should be made";
char plugin_author[] = "SAMO PENIC";

ts_plugin_details *init (){
	ts_fprintf(stdout,"Hello. Plugin %s is initiating.\n\nThis will load the details section of the plugin\n", plugin_name);

	ts_plugin_details *details=(ts_plugin_details *)calloc(1,sizeof(ts_plugin_details));
	details->name = plugin_name;
	return details;	
}

void cleanup(){
	ts_fprintf(stdout,"Goodbye from plugin %s. This functions clears what would be created in init...\n",plugin_name);
}