Sync with trunk (48237)
[reactos.git] / base / applications / network / net / main.c
1
2 /*
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS net command
5 * FILE:
6 * PURPOSE:
7 *
8 * PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
9 */
10
11 #include "net.h"
12
13
14
15 int main(int argc, char **argv)
16 {
17 if (argc<2)
18 {
19 help();
20 return 1;
21 }
22
23 if (_stricmp(argv[1],"ACCOUNTS")==0)
24 {
25 return unimplemented();
26 }
27 if (_stricmp(argv[1],"COMPUTER")==0)
28 {
29 return unimplemented();
30 }
31 if (_stricmp(argv[1],"CONFIG")==0)
32 {
33 return unimplemented();
34 }
35 if (_stricmp(argv[1],"CONTINUE")==0)
36 {
37 return unimplemented();
38 }
39
40 if (_stricmp(argv[1],"FILE")==0)
41 {
42 return unimplemented();
43 }
44 if (_stricmp(argv[1],"GROUP")==0)
45 {
46 return unimplemented();
47 }
48 if (_stricmp(argv[1],"HELP")==0)
49 {
50 return cmdHelp(argc,&argv[1]);
51 }
52 if (_stricmp(argv[1],"HELPMSG")==0)
53 {
54 return unimplemented();
55 }
56 if (_stricmp(argv[1],"LOCALGROUP")==0)
57 {
58 return unimplemented();
59 }
60 if (_stricmp(argv[1],"NAME")==0)
61 {
62 return unimplemented();
63 }
64 if (_stricmp(argv[1],"PRINT")==0)
65 {
66 return unimplemented();
67 }
68 if (_stricmp(argv[1],"SEND")==0)
69 {
70 return unimplemented();
71 }
72 if (_stricmp(argv[1],"SESSION")==0)
73 {
74 return unimplemented();
75 }
76 if (_stricmp(argv[1],"SHARE")==0)
77 {
78 return unimplemented();
79 }
80
81 if (_stricmp(argv[1],"START")==0)
82 {
83 return cmdStart(argc, &argv[1]);
84 }
85 if (_stricmp(argv[1],"STATISTICS")==0)
86 {
87 return unimplemented();
88 }
89 if (_stricmp(argv[1],"STOP")==0)
90 {
91 return cmdStop(argc, &argv[1]);
92 }
93 if (_stricmp(argv[1],"TIME")==0)
94 {
95 return unimplemented();
96 }
97 if (_stricmp(argv[1],"USE")==0)
98 {
99 return unimplemented();
100 }
101 if (_stricmp(argv[1],"USER")==0)
102 {
103 return unimplemented();
104 }
105 if (_stricmp(argv[1],"VIEW")==0)
106 {
107 return unimplemented();
108 }
109
110 help();
111 return 1;
112 }
113
114
115 int unimplemented()
116 {
117 puts("This command is not implemented yet");
118 return 1;
119 }
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138