Lines Matching defs:input
74 parse_port(const char *input) {
76 long val = strtol(input, &endptr, 10);
82 port = input;
88 parse_protocol(const char *input) {
90 if (!strcasecmp(input, protocols[i])) {
100 parse_address(const char *input) {
104 if (inet_pton(AF_INET6, input, &in6) == 1) {
106 address = input;
110 if (inet_pton(AF_INET, input, &in) == 1) {
112 address = input;
120 parse_workers(const char *input) {
122 long val = strtol(input, &endptr, 10);
134 parse_timeout(const char *input) {
136 long val = strtol(input, &endptr, 10);
148 parse_input(const char *input) {
151 if (!strcmp(input, "-")) {
154 in = open(input, O_RDONLY);
166 parse_output(const char *input) {
167 if (!strcmp(input, "-")) {
170 out = open(input, O_WRONLY | O_CREAT,
197 { "input", required_argument, NULL, 'i' },