Usermode/libaxwin4 - Handle demarshal failure
[tpg/acess2.git] / KernelLand / Kernel / include / modules.h
index d728133..cb436a6 100644 (file)
@@ -73,7 +73,7 @@ typedef struct sModule
        struct sModule  *Next;  //!< Next module in list (not to be touched by the driver)
        const char      *Name;  //!< Module Name/Identifier
         int    (*Init)(char **Arguments);      //!< Module initialiser / entrypoint
-       void    (*Deinit)(void);        //!< Cleanup Function
+        int    (*Deinit)(void);        //!< Cleanup Function
        const char      **Dependencies; //!< NULL terminated list of dependencies
 } PACKED tModule;
 
@@ -102,7 +102,7 @@ typedef struct sModuleLoader
        struct sModuleLoader    *Next;  //!< Kernel Only - Next loader in list
        char    *Name;  //!< Friendly name for the loader
         int    (*Detector)(void *Base);        //!< Simple detector function
-        int    (*Loader)(void *Base);  //!< Initialises the module
+        int    (*Loader)(void *Base, const char *ArgumentString);      //!< Initialises the module
         int    (*Unloader)(void *Base);        //!< Calls module's cleanup
 } PACKED tModuleLoader;
 

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