~cody.smith/ubuntu/precise/freeciv/lp.202327

« back to all changes in this revision

Viewing changes to server/commands.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams
  • Date: 2010-12-16 20:44:14 UTC
  • mfrom: (1.2.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20101216204414-gcr7omy0o66x5nzo
Tags: 2.2.4-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#include "connection.h"         /* for enum cmdlevel_id */
18
18
 
 
19
enum cmd_echo {
 
20
  CMD_ECHO_NONE = 0,
 
21
  CMD_ECHO_ADMINS,      /* i.e. all with 'admin' access and above. */
 
22
  CMD_ECHO_ALL,
 
23
};
 
24
 
19
25
/**************************************************************************
20
26
  Commands - can be recognised by unique prefix
21
27
**************************************************************************/
95
101
const char *command_extra_help(const struct command *pcommand);
96
102
 
97
103
enum cmdlevel_id command_level(const struct command *pcommand);
 
104
enum cmd_echo command_echo(const struct command *pcommand);
98
105
int command_vote_flags(const struct command *pcommand);
99
106
int command_vote_percent(const struct command *pcommand);
100
107