From e204b1b0150df1d5904e509a1fbf5c12a66ed6f8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 19 Nov 2008 07:40:37 +0100 Subject: Add support for resolver modules --- include/resolver.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 include/resolver.h (limited to 'include/resolver.h') diff --git a/include/resolver.h b/include/resolver.h new file mode 100644 index 00000000..77a95cf0 --- /dev/null +++ b/include/resolver.h @@ -0,0 +1,46 @@ +/* + * + * Connection Manager + * + * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __CONNMAN_RESOLVER_H +#define __CONNMAN_RESOLVER_H + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * SECTION:resolver + * @title: Resolver premitives + * @short_description: Functions for registering resolver modules + */ + +struct connman_resolver { + const char *name; +}; + +extern int connman_resolver_register(struct connman_resolver *resolver); +extern void connman_resolver_unregister(struct connman_resolver *resolver); + +#ifdef __cplusplus +} +#endif + +#endif /* __CONNMAN_RESOLVER_H */ -- cgit v1.2.3