]> git.tue.mpg.de Git - paraslash.git/commitdiff
send.h: Simplify sender command enum.
authorAndre Noll <maan@systemlinux.org>
Thu, 17 Jan 2008 19:21:15 +0000 (20:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 17 Jan 2008 19:21:15 +0000 (20:21 +0100)
Also add GPL header while we're at it.

send.h

diff --git a/send.h b/send.h
index 94d14cf8d01bd8ac8c30c4e92720b2982abd0fe3..b0da1652b2251668cbce5222396c33b4e9e5c76c 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