Moving charon to libcharon.

This commit is contained in:
Tobias Brunner
2010-03-19 13:34:52 +01:00
parent 7c11d10eb8
commit 08c5572602
480 changed files with 0 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
CREATE TABLE `ClientConfig` (
`IdClientConfig` int(11) NOT NULL,
`KeyId` varbinary(20) NOT NULL,
`PublicKey` blob NOT NULL,
`PrivateKey` blob NOT NULL,
PRIMARY KEY (`IdClientConfig`)
);
CREATE TABLE `MediationServerConfig` (
`IdMediationServerConfig` int(11) NOT NULL,
`Address` varchar(200) NOT NULL,
`KeyId` varbinary(20) NOT NULL,
`PublicKey` blob NOT NULL,
PRIMARY KEY (`IdMediationServerConfig`)
);
CREATE TABLE `Connection` (
`IdConnection` int(11) NOT NULL auto_increment,
`Active` tinyint(1) NOT NULL,
`Alias` varchar(50) NOT NULL,
`KeyId` varbinary(20) NOT NULL,
`PublicKey` blob NOT NULL,
`LocalSubnet` varchar(20),
`RemoteSubnet` varchar(20),
`Status` int(11) NOT NULL,
PRIMARY KEY (`IdConnection`),
UNIQUE (`Alias`),
UNIQUE (`KeyId`)
);