#include "test-tool.h" #include "connect.h" #include "hex.h" #include "parse-options.h" #include "pkt-line.h" #include "sigchain.h" #include "string-list.h" static const char *proc_receive_usage[] = …; static int die_read_version; static int die_write_version; static int die_read_commands; static int die_read_push_options; static int die_write_report; static int no_push_options; static int use_atomic; static int use_push_options; static int verbose; static int version = …; static struct string_list returns = …; struct command { … }; static void proc_receive_verison(struct packet_reader *reader) { … } static void proc_receive_read_commands(struct packet_reader *reader, struct command **commands) { … } static void proc_receive_read_push_options(struct packet_reader *reader, struct string_list *options) { … } int cmd__proc_receive(int argc, const char **argv) { … }