Report S2EVENT_CONNECT when a new SSID is selected.
[AROS.git] / arch / all-unix / bootstrap / hostinterface.c
blobc064da92b1a1a533a7ff50a0fa230e96a1fd2359
1 #include <stdarg.h>
2 #include <stdio.h>
4 /* These macros are defined in both UNIX and AROS headers. Get rid of warnings. */
5 #undef __pure
6 #undef __const
7 #undef __pure2
8 #undef __deprecated
10 #include <aros/config.h>
11 #include <aros/kernel.h>
12 #include <exec/lists.h>
13 #include <exec/resident.h>
14 #include <dos/bptr.h>
16 #include "hostinterface.h"
18 #include "hostlib.h"
19 #include "shutdown.h"
21 #if AROS_MODULES_DEBUG
22 /* gdb hooks from which it obtains modules list */
24 /* This is needed in order to bring in definition of struct segment */
25 #include "../../../rom/debug/debug_intern.h"
27 APTR AbsExecBase = NULL;
28 struct segment *seg = NULL;
29 struct Resident *res = NULL;
30 struct MinList *Debug_ModList = NULL;
31 #endif
34 * Some helpful functions that link us to the underlying host OS.
35 * Without them we would not be able to estabilish any interaction with it.
37 static struct HostInterface _HostIFace =
39 AROS_ARCHITECTURE,
40 HOSTINTERFACE_VERSION,
42 Host_HostLib_Open,
43 Host_HostLib_Close,
44 Host_HostLib_GetPointer,
45 KPutC,
46 #if AROS_MODULES_DEBUG
47 &Debug_ModList,
48 #else
49 NULL,
50 #endif
53 void *HostIFace = &_HostIFace;