diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-19 07:40:37 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-19 07:40:37 +0100 |
commit | e204b1b0150df1d5904e509a1fbf5c12a66ed6f8 (patch) | |
tree | dc97234ab98d34dba25c7ba9b67414284e59883c /include/resolver.h | |
parent | 9f5fe30d3ba7b2f1d3965859c822dca2201b2a3f (diff) | |
download | connman-e204b1b0150df1d5904e509a1fbf5c12a66ed6f8.tar.gz connman-e204b1b0150df1d5904e509a1fbf5c12a66ed6f8.tar.bz2 connman-e204b1b0150df1d5904e509a1fbf5c12a66ed6f8.zip |
Add support for resolver modules
Diffstat (limited to 'include/resolver.h')
-rw-r--r-- | include/resolver.h | 46 |
1 files changed, 46 insertions, 0 deletions
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 */ |