resolv_conf plugin renamed to resolve

This commit is contained in:
Andreas Steffen
2009-09-20 19:06:58 +02:00
parent 03f096df7e
commit 4819ec6a71
12 changed files with 371 additions and 20 deletions
@@ -0,0 +1,47 @@
/*
* Copyright (C) 2009 Martin Willi
* Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
/**
* @defgroup resolve resolve
* @ingroup cplugins
*
* @defgroup resolve_plugin resolve_plugin
* @{ @ingroup resolve
*/
#ifndef RESOLVE_PLUGIN_H_
#define RESOLVE_PLUGIN_H_
#include <plugins/plugin.h>
typedef struct resolve_plugin_t resolve_plugin_t;
/**
* Plugin that writes received DNS servers in a resolv.conf file.
*/
struct resolve_plugin_t {
/**
* implements plugin interface
*/
plugin_t plugin;
};
/**
* Create a resolve_plugin instance.
*/
plugin_t *plugin_create();
#endif /** RESOLVE_PLUGIN_H_ @}*/