Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes: > +struct subcommand { > + const char *name; > + const char *help; > + int (*callback)(int, const char **, const char *); > +}; In what way is this a "callback"? It is not like you call some API function with this structure as its argument, and then the implementation of the API function calls this function back. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html