X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.h;h=a7fa4673c696fe52f79bcb17dd4ca2a10ae720f9;hp=8a117b9c36bf2c6818827ed745a5a47635ab0843;hb=ac1f19d550a81c8408c8fce2e237996c950253ab;hpb=1709cc8f8a54429441f8f83c38146e667133c727 diff --git a/command.h b/command.h index 8a117b9c..a7fa4673 100644 --- a/command.h +++ b/command.h @@ -2,14 +2,8 @@ /** Per connection data available to command handlers. */ struct command_context { - /** Network address of the peer. */ - const char *peer; /** The paraslash user that executes this command. */ - struct user *u; - /** Argument count. */ - int argc; - /** Argument vector. */ - char **argv; + const struct user *u; /** File descriptor and crypto keys. */ struct stream_cipher_context scc; };