2 * Copyright (C) 2013 Tobias Brunner
3 * Hochschule fuer Technik Rapperswil
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #include "sshkey_plugin.h"
20 typedef struct private_sshkey_plugin_t private_sshkey_plugin_t
;
23 * private data of sshkey_plugin
25 struct private_sshkey_plugin_t
{
30 sshkey_plugin_t
public;
33 METHOD(plugin_t
, get_name
, char*,
34 private_sshkey_plugin_t
*this)
39 METHOD(plugin_t
, get_features
, int,
40 private_sshkey_plugin_t
*this, plugin_feature_t
*features
[])
42 static plugin_feature_t f
[] = {
48 METHOD(plugin_t
, destroy
, void,
49 private_sshkey_plugin_t
*this)
57 plugin_t
*sshkey_plugin_create()
59 private_sshkey_plugin_t
*this;
64 .get_name
= _get_name
,
65 .get_features
= _get_features
,
71 return &this->public.plugin
;