Stephen Hemminger wrote:
> On Thu, 22 Feb 2018 15:02:06 +0200
> Serhey Popovych <serhe.popov...@gmail.com> wrote:
> 
>> +struct iplink_parse_args {
>> +    const char *dev;
>> +    const char *name;
>> +    const char *type;
>> +
>> +    /* This definitely must be the last one and initialized
>> +     * by the caller of iplink_parse() that will initialize rest.
>> +     */
>> +    struct iplink_req *req;
>> +};
>> +
> 
> No control block please.
Accepted.

> If you have too many arguments, then that means you need to do
> some refactoring.

So using structure as single argument to a function isn't an option?

> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to