From: Andre Noll Date: Thu, 17 Jan 2008 19:21:15 +0000 (+0100) Subject: send.h: Simplify sender command enum. X-Git-Tag: v0.3.1~90 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=3d957dbd1021332f58fecdb11394af832de59bd8;p=paraslash.git send.h: Simplify sender command enum. Also add GPL header while we're at it. --- diff --git a/send.h b/send.h index 94d14cf8..b0da1652 100644 --- 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 + * + * 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