]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
com_list: Actually initialize a list to point to itself...
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index b606315d70e241c4cb638ed9623eb4be1e5002b3..ea711f661e7f00a5687988a76f9869f175108a27 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -173,12 +173,20 @@ dllfunction_t;
 
 qbool Sys_LoadSelf(dllhandle_t *handle);
 
-/*! Loads a library. 
+/*! Loads a dependency library. 
  * \param dllnames a NULL terminated array of possible names for the DLL you want to load.
  * \param handle
  * \param fcts
  */
-qbool Sys_LoadLibrary (const char** dllnames, dllhandle_t* handle, const dllfunction_t *fcts);
+qbool Sys_LoadDependency (const char** dllnames, dllhandle_t* handle, const dllfunction_t *fcts);
+
+/*! Loads a library.
+ * \param name a string of the library filename
+ * \param handle
+ * \return true if library was loaded successfully
+ */
+qbool Sys_LoadLibrary(const char *name, dllhandle_t *handle);
+
 void Sys_FreeLibrary (dllhandle_t* handle);
 void* Sys_GetProcAddress (dllhandle_t handle, const char* name);