]> git.tue.mpg.de Git - paraslash.git/commit
command: Introduce struct command_context.
authorAndre Noll <maan@systemlinux.org>
Sat, 24 Dec 2011 00:22:58 +0000 (01:22 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 20 Jan 2012 21:57:07 +0000 (22:57 +0100)
commit69b3a249fb8f0f4a01e26f7a414dbe79f480a78c
tree77194accdba1a84bfff2b8e0391e85bc39e421c0
parentc953ad4edff1bb64fb54124bfec7c3726cb2865a
command: Introduce struct command_context.

This exposes a couple of variables which were previously local to
handle_connect() to the command handlers, allowing them to make use
of the full command context.

All newly exposed variables are stored in an instance of the new
structure, and the command handlers now take a pointer to such
a structure.

The patch is large but also straight forward.
afs.c
afs.cmd
aft.c
attribute.c
blob.c
command.c
command.h