Added public files
Roughly added all public files. Probably missed some, though.
diff --git a/secure/simul_efun/spare/enable_commands.c b/secure/simul_efun/spare/enable_commands.c
new file mode 100644
index 0000000..9d1c963
--- /dev/null
+++ b/secure/simul_efun/spare/enable_commands.c
@@ -0,0 +1,30 @@
+/* These sefuns are to provide a replacement for the efuns enable_commands()
+ * and disable_commands().
+ * Feel free to add it to your mudlibs, if you have much code relying on that.
+ */
+
+#include <configuration.h>
+
+#if ! __EFUN_DEFINED__(enable_commands)
+
+void enable_commands()
+{
+ object ob = efun::previous_object();
+
+ efun::configure_object(ob, OC_COMMANDS_ENABLED, 1);
+ efun::set_this_player(ob);
+}
+
+#endif
+
+#if ! __EFUN_DEFINED__(disable_commands)
+
+void disable_commands()
+{
+ object ob = efun::previous_object();
+
+ efun::configure_object(ob, OC_COMMANDS_ENABLED, 0);
+ efun::set_this_player(0);
+}
+
+#endif