xref: /reactos/base/applications/network/net/net.h (revision 11345aed)
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 
29 extern HMODULE hModuleNetMsg;
30 
31 VOID
32 PrintPaddedResourceString(
33     UINT uID,
34     INT nPaddedLength);
35 
36 VOID
37 PrintPadding(
38     WCHAR chr,
39     INT nPaddedLength);
40 
41 VOID
42 PrintMessageString(
43     DWORD dwMessage);
44 
45 VOID
46 PrintMessageStringV(
47     DWORD dwMessage,
48     ...);
49 
50 VOID
51 PrintPaddedMessageString(
52     DWORD dwMessage,
53     INT nPaddedLength);
54 
55 VOID
56 PrintErrorMessage(
57     DWORD dwError);
58 
59 VOID
60 PrintNetMessage(
61     DWORD dwMessage);
62 
63 VOID
64 ReadFromConsole(
65     LPWSTR lpInput,
66     DWORD dwLength,
67     BOOL bEcho);
68 
69 VOID help(VOID);
70 INT unimplemented(INT argc, WCHAR **argv);
71 
72 INT cmdAccounts(INT argc, WCHAR **argv);
73 INT cmdComputer(INT argc, WCHAR **argv);
74 INT cmdConfig(INT argc, WCHAR **argv);
75 INT cmdContinue(INT argc, WCHAR **argv);
76 INT cmdGroup(INT argc, WCHAR **argv);
77 INT cmdHelp(INT argc, WCHAR **argv);
78 INT cmdHelpMsg(INT argc, WCHAR **argv);
79 INT cmdLocalGroup(INT argc, WCHAR **argv);
80 INT cmdPause(INT argc, WCHAR **argv);
81 INT cmdShare(INT argc, WCHAR **argv);
82 INT cmdStart(INT argc, WCHAR **argv);
83 INT cmdStatistics(INT argc, WCHAR **argv);
84 INT cmdStop(INT argc, WCHAR **argv);
85 INT cmdSyntax(INT argc, WCHAR **argv);
86 INT cmdUse(INT argc, WCHAR **argv);
87 INT cmdUser(INT argc, WCHAR **argv);
88 
89 #endif /* _NET_PCH_ */
90