Communication Interface Config/Settings

This is the interface that was used to build the UI for SolutionHub. If you are not pleased with the UI provided, here's the
structures to make it happend.

If you want to make a new UI for SolutionHub, let me know and I will fill in the structure of Json sent in the messages.
Keeping it here as a reference and reminder that you do not have to live with my provided UI.

#define NPPM_SOLUTIONHUB_CONFIG_START					500

//! Get solutions that is present in the SolutionHub
struct GetSolutionsRequest
{
	char *solution_json;
	unsigned int buffer_size;

	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_GET_SOLUTIONS			NPPM_SOLUTIONHUB_CONFIG_START

//! Get Json-formatted connection data
struct GetConnectionsRequest
{
	char *connection_json;
	unsigned int buffer_size;

	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_GET_CONNECTIONS			NPPM_SOLUTIONHUB_CONFIG_START+1

//! Save connections request
struct SaveConnectionsRequest
{
	const char *connection_json;

	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_SAVE_CONNECTIONS		NPPM_SOLUTIONHUB_CONFIG_START+2

//!
struct SaveSolutionRequest
{
	const char *solution_name;
	const char *solution_json;

	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_SAVE_SOLUTION			NPPM_SOLUTIONHUB_CONFIG_START+3

//!
struct DeleteSolutionRequest
{
	const char *solution_name;
	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_DELETE_SOLUTION			NPPM_SOLUTIONHUB_CONFIG_START+4

//! Connections will get white-space separated text with connected plugins (ex. 'ofis tsvn')
struct GetNamedConnectionsRequest
{
	char *connections;
	unsigned int buffer_size;

	int result;
};
#define NPPM_SOLUTIONHUB_CONFIG_GET_NAMED_CONNECTIONS	NPPM_SOLUTIONHUB_CONFIG_START+5