diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-04 20:59:19 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-04 20:59:19 +0100 |
| commit | be3fe0da9995e59d32b4eb52368a012c0c18de85 (patch) | |
| tree | c579508d3feb9a666fc18bd42bfda4a95b493308 /src/hal-abi.h | |
| parent | 70ba2dbf0f49a4f8d1caa2bbed97c8c2358c6fb6 (diff) | |
a bit further towards something useful. currently linking problems
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/hal-abi.h')
| -rw-r--r-- | src/hal-abi.h | 28 |
1 files changed, 0 insertions, 28 deletions
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 @@ | |||
| 1 | /* | ||
| 2 | * HAL ABI | ||
| 3 | * | ||
| 4 | * The following is all hal information needed in order to compile | ||
| 5 | * a hald-addon. | ||
| 6 | */ | ||
| 7 | |||
| 8 | /* Structure declarations */ | ||
| 9 | struct LibHalContext; | ||
| 10 | struct DBusConnection; | ||
| 11 | |||
| 12 | /* Simple error handling */ | ||
| 13 | #define setup_logger() | ||
| 14 | #define eprintf(...) (fprintf(stderr, __VA_ARGS__), fprintf(stderr, "\n")) | ||
| 15 | #define WARNING(...) eprintf("addon-warning: " __VA_ARGS__) | ||
| 16 | #define DEBUG(...) eprintf("addon-debug: " __VA_ARGS__) | ||
| 17 | #define ERROR(...) eprintf("addon-error: " __VA_ARGS__) | ||
| 18 | #define HAL_WARNING(x) WARNING x | ||
| 19 | #define HAL_DEBUG(x) DEBUG x | ||
| 20 | #define HAL_ERROR(x) ERROR x | ||
| 21 | |||
| 22 | /* Function declarations */ | ||
| 23 | struct LibHalContext * | ||
| 24 | libhal_ctx_init_direct(struct DBusError *error); | ||
| 25 | |||
| 26 | struct DBusConnection * | ||
| 27 | libhal_ctx_get_dbus_connection(struct LibHalContext *ctx); | ||
| 28 | |||
