1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r5423: Change function table structure to allow short description

of command groups. Also give up help function pointer in the
structure since it's needed only in leaf nodes of command tree,
and leaf nodes decide about help on their own. Usage function
is still available on all levels.

rafal
(This used to be commit 48568959a8)
This commit is contained in:
Rafal Szczesniak 2005-02-16 21:50:38 +00:00 committed by Gerald (Jerry) Carter
parent 01af8299ec
commit 16f64ae6d6

View File

@ -33,9 +33,9 @@ struct net_context {
struct net_functable {
const char *name;
const char *desc;
int (*fn)(struct net_context *ctx, int argc, const char **argv);
int (*usage)(struct net_context *ctx, int argc, const char **argv);
int (*help)(struct net_context *ctx, int argc, const char **argv);
};
#endif /* _UTIL_NET_H */