windows-nt/Source/XPSP1/NT/ds/adsi/drt/adscmd/disptabl.cxx

32 lines
921 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "dispdef.hxx"
#include <stdio.h>
char *g_HelpTable[] = {"-?", "/?", "--help", "help"};
int g_nHelpTable = sizeof(g_HelpTable) / sizeof(char*);
//
// Add dispatch table entries below
//
DEFEXEC(ExecDefaultContainer);
DEFEXEC(ExecDump);
DEFEXEC(ExecEnum);
DEFEXEC(ExecGet);
DEFEXEC(ExecGroup);
DEFEXEC(ExecSession);
DEFEXEC(ExecShare);
DEFEXEC(ExecUser);
DISPENTRY g_DispTable[] = {
{"default", NULL, ExecDefaultContainer},
{"dump", NULL, ExecDump},
{"enum", NULL, ExecEnum},
{"get", NULL, ExecGet},
{"group", NULL, ExecGroup},
{"session", NULL, ExecSession},
{"share", NULL, ExecShare},
{"user", NULL, ExecUser}
};
int g_nDispTable = sizeof(g_DispTable) / sizeof(DISPENTRY);