send.h: Simplify sender command enum.
[paraslash.git] / send.h
diff --git a/send.h b/send.h
index 94d14cf..b0da165 100644 (file)
--- a/send.h
+++ b/send.h
@@ -1,9 +1,13 @@
-/** \file send.h sender-related defines and structures */
-/** the sender subcommands */
-enum {SENDER_ADD, SENDER_DELETE, SENDER_ALLOW, SENDER_DENY, SENDER_ON, SENDER_OFF};
+/*
+ * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
+
+/** \file send.h Sender-related defines and structures. */
 
-/** the number of sender subcommands */
-#define NUM_SENDER_CMDS (SENDER_OFF + 1)
+/** The sender subcommands. */
+enum {SENDER_ADD, SENDER_DELETE, SENDER_ALLOW, SENDER_DENY, SENDER_ON, SENDER_OFF, NUM_SENDER_CMDS};
 
 /**
  * describes one supported sender of para_server