From be3fe0da9995e59d32b4eb52368a012c0c18de85 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 4 Nov 2008 20:59:19 +0100 Subject: a bit further towards something useful. currently linking problems Signed-off-by: Henrik Rydberg --- src/hal-abi.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/hal-abi.h (limited to 'src/hal-abi.h') diff --git a/src/hal-abi.h b/src/hal-abi.h deleted file mode 100644 index 277580f..0000000 --- a/src/hal-abi.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * HAL ABI - * - * The following is all hal information needed in order to compile - * a hald-addon. - */ - -/* Structure declarations */ -struct LibHalContext; -struct DBusConnection; - -/* Simple error handling */ -#define setup_logger() -#define eprintf(...) (fprintf(stderr, __VA_ARGS__), fprintf(stderr, "\n")) -#define WARNING(...) eprintf("addon-warning: " __VA_ARGS__) -#define DEBUG(...) eprintf("addon-debug: " __VA_ARGS__) -#define ERROR(...) eprintf("addon-error: " __VA_ARGS__) -#define HAL_WARNING(x) WARNING x -#define HAL_DEBUG(x) DEBUG x -#define HAL_ERROR(x) ERROR x - -/* Function declarations */ -struct LibHalContext * -libhal_ctx_init_direct(struct DBusError *error); - -struct DBusConnection * -libhal_ctx_get_dbus_connection(struct LibHalContext *ctx); - -- cgit v1.2.3