Factor out sorted list insertion into utility function
[clinton/bobotpp.git] / source / ScriptCommands.H
index d9ec71f..b2ecaec 100644 (file)
@@ -14,7 +14,8 @@
 
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+// 02110-1301, USA.
 
 #ifndef SCRIPTCOMMANDS_H
 #define SCRIPTCOMMANDS_H
@@ -35,7 +36,9 @@ public:
   static SCM AddServer(SCM, SCM);
   static SCM AddShit(SCM, SCM, SCM, SCM, SCM);
   static SCM Ban(SCM, SCM);
-  static SCM ChangeLevel(SCM, SCM, SCM);
+  static SCM ChangeCommandLevel(SCM, SCM);
+  static SCM CTCP(SCM, SCM, SCM);
+  static SCM CTCPReply(SCM, SCM, SCM);
   static SCM Cycle(SCM);
   static SCM Deban(SCM, SCM);
   static SCM DelServer(SCM);
@@ -55,16 +58,20 @@ public:
   static SCM Msg(SCM, SCM);
   static SCM NextServer(void);
   static SCM Nick(SCM);
+  static SCM Notice (SCM, SCM);
   static SCM Op(SCM, SCM);
   static SCM Part(SCM);
   static SCM Reconnect(void);
   static SCM Say(SCM, SCM);
   static SCM Server(SCM); // ACK NAMING CLASH
+  static SCM SetFloodRate(SCM);
   static SCM SetVersion(SCM);
   static SCM TBan(SCM, SCM, SCM);
   static SCM TKBan(SCM, SCM, SCM, SCM);
   static SCM Topic(SCM, SCM);
   static SCM Unlock(SCM);
+  static SCM Who(SCM);
+  static SCM Whois(SCM);
 
   static SCM getNickname(void);
   static SCM getServer(void);
@@ -74,21 +81,22 @@ public:
   static SCM random(SCM);
   static SCM addCommand(SCM, SCM, SCM, SCM, SCM);
   static SCM delCommand(SCM);
-  static SCM AddHook(SCM, SCM, SCM, SCM, SCM);
+  static SCM AddHook(SCM, SCM, SCM, SCM, SCM, SCM);
   static SCM AddTimer(SCM, SCM);
   static SCM DelTimer(SCM);
 
-  // Message sending
-  static SCM sendCTCP(SCM, SCM, SCM);
+  // DCC CHAT
+  static SCM sendDCCChatMessage (SCM, SCM);
+
   /*
-  SCM sendCTCPReply(SCM, SCM, SCM);
   SCM sendChannelMode(SCM);
   SCM sendChannelMode(SCM, SCM, SCM);
   SCM sendInvite(SCM, SCM);
   SCM sendJoin(SCM, SCM);
   SCM sendKick(SCM, SCM, SCM);
   SCM sendNick(SCM);
-  SCM sendNotice(SCM, SCM);
+  */
+  /*
   SCM sendPart(SCM);
   SCM sendPass(SCM);
   SCM sendPing(SCM);
@@ -102,7 +110,6 @@ public:
   SCM sendWho(SCM);
   SCM sendWhois(SCM);
   */
-
 };
 
 #endif