The dynloader.c header
authorBrian Costello <btx@uncensored.citadel.org>
Tue, 8 Sep 1998 03:13:39 +0000 (03:13 +0000)
committerBrian Costello <btx@uncensored.citadel.org>
Tue, 8 Sep 1998 03:13:39 +0000 (03:13 +0000)
citadel/dynloader.h [new file with mode: 0644]

diff --git a/citadel/dynloader.h b/citadel/dynloader.h
new file mode 100644 (file)
index 0000000..fb36c3e
--- /dev/null
@@ -0,0 +1,20 @@
+struct DLModule_Info
+{
+   char module_name[30];
+   char module_author[30];
+   char module_author_email[30];
+   int major_version, minor_version;
+};
+
+typedef struct s_symtab
+{
+   char *fcn_name;
+   char *server_cmd;
+   char *info_msg;
+   char *module_path;
+   struct s_symtab *next;
+} symtab;
+
+void DLoader_Init(char *pathname, symtab **);
+int DLoader_Exec_Cmd(char *cmdbuf);
+void add_symbol(char *fcn_name, char *server_cmd, char *info_msg, symtab **);