Usermode/AxWin3 - Debugging IPC
[tpg/acess2.git] / Usermode / Libraries / libaxwin3.so_src / main.c
1 /*
2  * AxWin3 Interface Library
3  * - By John Hodge (thePowersGang)
4  *
5  * main.c
6  * - Entrypoint and setup
7  */
8 #include <axwin3/axwin.h>
9 #include "include/ipc.h"
10 #include "include/internal.h"
11
12 // === CODE ===
13 int SoMain(void *Base, int argc, const char *argv[], const char **envp)
14 {
15         // TODO: Parse the environment for the AXWIN3_SERVER variable
16         gsAxWin3_int_ServerDesc = getenv("AXWIN3_SERVER");
17         return 0;
18 }
19
20 void AxWin3_MainLoop(void)
21 {
22         tAxWin_IPCMessage       *msg;
23          int    bExit = 0;      
24
25         while(!bExit)
26         {
27                 msg = AxWin3_int_GetIPCMessage();
28                 
29                 // TODO: Handle message
30         }
31 }
32

UCC git Repository :: git.ucc.asn.au