xref: /reactos/base/applications/network/net/net.h (revision 01e5cb0c)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS net command
4  * PROGRAMMERS:     Magnus Olsen (greatlord@reactos.org)
5  */
6 
7 #ifndef _NET_PCH_
8 #define _NET_PCH_
9 
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <limits.h>
13 #include <stdarg.h>
14 
15 #define WIN32_NO_STATUS
16 #include <windef.h>
17 #include <winbase.h>
18 #include <winnls.h>
19 #include <wincon.h>
20 #include <winsvc.h>
21 #include <winnetwk.h>
22 #include <lm.h>
23 #include <ndk/rtlfuncs.h>
24 
25 #include <conutils.h>
26 
27 #include <net_msg.h>
28 #include "resource.h"
29 
30 extern HMODULE hModuleNetMsg;
31 
32 VOID
33 PrintPaddedResourceString(
34     UINT uID,
35     INT nPaddedLength);
36 
37 VOID
38 PrintPadding(
39     WCHAR chr,
40     INT nPaddedLength);
41 
42 VOID
43 PrintErrorMessage(
44     DWORD dwError);
45 
46 VOID
47 PrintNetMessage(
48     DWORD dwMessage);
49 
50 VOID
51 ReadFromConsole(
52     LPWSTR lpInput,
53     DWORD dwLength,
54     BOOL bEcho);
55 
56 VOID help(VOID);
57 INT unimplemented(INT argc, WCHAR **argv);
58 
59 INT cmdAccounts(INT argc, WCHAR **argv);
60 INT cmdComputer(INT argc, WCHAR **argv);
61 INT cmdConfig(INT argc, WCHAR **argv);
62 INT cmdContinue(INT argc, WCHAR **argv);
63 INT cmdGroup(INT argc, WCHAR **argv);
64 INT cmdHelp(INT argc, WCHAR **argv);
65 INT cmdHelpMsg(INT argc, WCHAR **argv);
66 INT cmdLocalGroup(INT argc, WCHAR **argv);
67 INT cmdPause(INT argc, WCHAR **argv);
68 INT cmdStart(INT argc, WCHAR **argv);
69 INT cmdStatistics(INT argc, WCHAR **argv);
70 INT cmdStop(INT argc, WCHAR **argv);
71 INT cmdUse(INT argc, WCHAR **argv);
72 INT cmdUser(INT argc, WCHAR **argv);
73 
74 #endif /* _NET_PCH_ */
75