X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.h;h=ab76d6027d8f9cbcfe6075050c0c7188fc271c1b;hp=d28db0389f01846d4b7bb0c9c37ff156028a2bbf;hb=7f4c8ebb15388f1ffde4bc2dd956f11522797a95;hpb=0806c6f0f2dc341deea1520034420ceadb116082;ds=sidebyside diff --git a/command.h b/command.h index d28db038..ab76d602 100644 --- a/command.h +++ b/command.h @@ -16,24 +16,6 @@ struct command_context { struct stream_cipher_context scc; }; -/** - * Defines one command of para_server. - */ -struct server_command { - /** The name of the command. */ - const char *name; - /** Pointer to the function that handles the command. */ - int (*handler)(struct command_context *); - /** The privileges a user must have to execute this command. */ - unsigned int perms; - /** One-line description of the command. */ - const char *description; - /** Summary of the command line options. */ - const char *usage; - /** The long help text. */ - const char *help; -}; - int send_sb(struct stream_cipher_context *scc, void *buf, size_t numbytes, int band, bool dont_free); __printf_3_4 int send_sb_va(struct stream_cipher_context *scc, int band,