r5423: Change function table structure to allow short description
[samba.git] / source / utils / net / net.h
index ba8294c14472f69da6056f5dffc7093dc41a7281..2967063bde71d9e7b536189227e4687716605984 100644 (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 */