Split control-socket functions into separate file.

This commit is contained in:
Matthew Bloch
2012-05-23 00:42:14 +01:00
parent 811e4ab2cd
commit 9c26f7f36f
7 changed files with 257 additions and 238 deletions

View File

@@ -130,6 +130,11 @@ void do_serve(struct mode_serve_params* params);
void do_read(struct mode_readwrite_params* params);
void do_write(struct mode_readwrite_params* params);
union mode_params {
struct mode_serve_params serve;
struct mode_readwrite_params readwrite;
};
void mode(char* mode, int argc, char **argv)
{
union mode_params params;